]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109032)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Sep 2023 13:11:32 +0000 (06:11 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 13:11:32 +0000 (15:11 +0200)
Docs: Fix typo in datetime.tzinfo docstring (GH-107257)
(cherry picked from commit 60a9eea3f56c002356998f5532b3ad870a1ffa8e)

Co-authored-by: Mikhail Samylov <Samylov-Mikhail@yandex.com>
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 549fcda19dccf249ea7443ef937fa26ae3374d7f..a6d43399f9e7037ed5bf38579219f3313a5b3a16 100644 (file)
@@ -1236,7 +1236,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__ = ()