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