Skip to content

Commit

Permalink
Fix erroneous reference to DateTime "class"
Browse files Browse the repository at this point in the history
DateTime is not a class here, and the parameter is expected as int.
This fixes a documentation bug I introduced in cd16a35 (gitpython-developers#1725).
  • Loading branch information
EliahKagan committed Feb 28, 2024
1 parent bc48d26 commit 30f7da5
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 @@ -68,7 +68,7 @@ def __init__(
:class:`~git.util.Actor` identifying the tagger.
:param tagged_date: int_seconds_since_epoch
The :class:`DateTime` of the tag creation.
The DateTime of the tag creation.
Use :func:`time.gmtime` to convert it into a different format.
:param tagger_tz_offset: int_seconds_west_of_utc
Expand Down

0 comments on commit 30f7da5

Please sign in to comment.