]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109055)
authorMikhail Samylov <Samylov-Mikhail@yandex.com>
Thu, 7 Sep 2023 05:32:55 +0000 (08:32 +0300)
committerGitHub <noreply@github.com>
Thu, 7 Sep 2023 05:32:55 +0000 (05:32 +0000)
Lib/datetime.py

index c3c2568f986594d1e6ee6caa78c40d6f8a0c81a8..60927de6adeb1aef415db51af8694055ad80fa32 100644 (file)
@@ -1223,7 +1223,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__ = ()