Skip to content

Commit

Permalink
Fix wrong class name in git.objects.tag docstring
Browse files Browse the repository at this point in the history
In 6126997 (gitpython-developers#1725), I had meant to have the git.objects.tag module
docstring say that the module defined the TagObject class, to help
ensure no one would confuse this with the TagReference class. But I
instead had it wrongly say it defined the TagReference class! This
fixes that.
  • Loading branch information
EliahKagan committed Mar 8, 2024
1 parent 8e8b87a commit aab1725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/objects/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

"""Provides an :class:`~git.objects.base.Object`-based type for annotated tags.
This defines the :class:`TagReference` class, which represents annotated tags.
This defines the :class:`TagObject` class, which represents annotated tags.
For lightweight tags, see the :mod:`git.refs.tag` module.
"""

Expand Down

0 comments on commit aab1725

Please sign in to comment.