From c70a29160a6198d47e492ad41beb8fd5c4bcb29d Mon Sep 17 00:00:00 2001 From: Mikhail Samylov Date: Thu, 7 Sep 2023 08:32:55 +0300 Subject: [PATCH] [3.11] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) (#109055) --- Lib/datetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/datetime.py b/Lib/datetime.py index c3c2568f986..60927de6ade 100644 --- a/Lib/datetime.py +++ b/Lib/datetime.py @@ -1223,7 +1223,7 @@ def __reduce__(self): 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__ = ()