Skip to content

Commit c70a291

Browse files
authored
[3.11] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109055)
1 parent 1ebe014 commit c70a291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ def __reduce__(self):
12231223
class tzinfo:
12241224
"""Abstract base class for time zone info classes.
12251225
1226-
Subclasses must override the name(), utcoffset() and dst() methods.
1226+
Subclasses must override the tzname(), utcoffset() and dst() methods.
12271227
"""
12281228
__slots__ = ()
12291229

0 commit comments

Comments
 (0)