Skip to content

Commit

Permalink
Update telegram/_birthdate.py
Browse files Browse the repository at this point in the history
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
  • Loading branch information
Bibo-Joshi and harshil21 committed May 10, 2024
1 parent 2953dd9 commit 5943b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/_birthdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def to_date(self, year: Optional[int] = None) -> date:
present.
Returns:
:obj:`datetime.date`: The birthdate as a datetime object.
:obj:`datetime.date`: The birthdate as a date object.
"""
if self.year is None and year is None:
raise ValueError(
Expand Down

0 comments on commit 5943b36

Please sign in to comment.