From 6cdfa2ccca809a77eb3e1ddba8a68b6011a2f3a1 Mon Sep 17 00:00:00 2001 From: Mikhail Samylov Date: Thu, 7 Sep 2023 00:29:46 +0300 Subject: [PATCH] [3.11] Docs: Fix typo in datetime.tzinfo docstring (GH-107257) Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com> Co-authored-by: Hugo van Kemenade . (cherry picked from commit 60a9eea3f56c002356998f5532b3ad870a1ffa8e) Co-authored-by: Mikhail Samylov --- Lib/datetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/datetime.py b/Lib/datetime.py index c3c2568f986594..60927de6adeb1a 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__ = ()