Skip to content

Commit 5980284

Browse files
committed
Updates some docstrings
1 parent cd88d84 commit 5980284

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pendulum/date.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ def create(cls, year=None, month=None, day=None):
8787
@classmethod
8888
def today(cls, tz=None):
8989
"""
90-
Create a Pendulum instance for today.
90+
Create a Date instance for today.
9191
9292
:param tz: The timezone
9393
:type tz: Timezone or TimezoneInfo or str or None
9494
95-
:rtype: Pendulum
95+
:rtype: Date
9696
"""
9797
if cls.has_test_now():
9898
return cls.get_test_now()
@@ -429,7 +429,7 @@ def is_long_year(self):
429429
"""
430430
Determines if the instance is a long year
431431
432-
See link `https://en.wikipedia.org/wiki/ISO_8601#Week_dates`_
432+
See link `<https://en.wikipedia.org/wiki/ISO_8601#Week_dates>`_
433433
434434
:rtype: bool
435435
"""

0 commit comments

Comments
 (0)