From: Mikhail Samylov Date: Wed, 6 Sep 2023 21:29:46 +0000 (+0300) Subject: Docs: Fix typo in datetime.tzinfo docstring (#107257) X-Git-Tag: v3.13.0a1~573 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60a9eea3f56c002356998f5532b3ad870a1ffa8e;p=thirdparty%2FPython%2Fcpython.git Docs: Fix typo in datetime.tzinfo docstring (#107257) Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com> Co-authored-by: Hugo van Kemenade --- diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index df616bbaf838..4ffef65c577e 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -1238,7 +1238,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__ = ()