Skip to content

Commit 60a9eea

Browse files
samineerpgansslehugovk
authored
Docs: Fix typo in datetime.tzinfo docstring (#107257)
Co-authored-by: Paul Ganssle <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent f0f96a9 commit 60a9eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pydatetime.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def __reduce__(self):
12381238
class tzinfo:
12391239
"""Abstract base class for time zone info classes.
12401240
1241-
Subclasses must override the name(), utcoffset() and dst() methods.
1241+
Subclasses must override the tzname(), utcoffset() and dst() methods.
12421242
"""
12431243
__slots__ = ()
12441244

0 commit comments

Comments
 (0)