]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Fix typo in datetime.tzinfo docstring (#107257)
authorMikhail Samylov <Samylov-Mikhail@yandex.com>
Wed, 6 Sep 2023 21:29:46 +0000 (00:29 +0300)
committerGitHub <noreply@github.com>
Wed, 6 Sep 2023 21:29:46 +0000 (21:29 +0000)
Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Lib/_pydatetime.py

index df616bbaf8388d27e5877dbb885063831a0502a6..4ffef65c577e1fd9e4f41a9f95c6ba08e3672d6a 100644 (file)
@@ -1238,7 +1238,7 @@ date.resolution = timedelta(days=1)
 class tzinfo:
     """Abstract base class for time zone info classes.
 
-    Subclasses must override the name(), utcoffset() and dst() methods.
+    Subclasses must override the tzname(), utcoffset() and dst() methods.
     """
     __slots__ = ()