From: Mikhail Samylov Date: Thu, 7 Sep 2023 05:32:55 +0000 (+0300) Subject: [3.11] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109055) X-Git-Tag: v3.11.6~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c70a29160a6198d47e492ad41beb8fd5c4bcb29d;p=thirdparty%2FPython%2Fcpython.git [3.11] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109055) --- diff --git a/Lib/datetime.py b/Lib/datetime.py index c3c2568f9865..60927de6adeb 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -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__ = ()