Skip to content

Commit 579d782

Browse files
miss-islingtonsamineerpgansslehugovk
authored
[3.12] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109032)
Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (cherry picked from commit 60a9eea) Co-authored-by: Mikhail Samylov <[email protected]> Co-authored-by: Paul Ganssle <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent ef0dbfb commit 579d782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pydatetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ def __reduce__(self):
12361236
class tzinfo:
12371237
"""Abstract base class for time zone info classes.
12381238
1239-
Subclasses must override the name(), utcoffset() and dst() methods.
1239+
Subclasses must override the tzname(), utcoffset() and dst() methods.
12401240
"""
12411241
__slots__ = ()
12421242

0 commit comments

Comments
 (0)