From: Pablo Galindo Date: Sat, 1 May 2021 19:26:09 +0000 (+0100) Subject: bpo-43957: Add a missins space to the new format enum warning (#25770) X-Git-Tag: v3.10.0b1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a42d5069a4c2a531076abfb198d2be26b57216c;p=thirdparty%2FPython%2Fcpython.git bpo-43957: Add a missins space to the new format enum warning (#25770) --- diff --git a/Lib/enum.py b/Lib/enum.py index bccf024b520a..01f431001a9b 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1018,7 +1018,7 @@ class Enum(metaclass=EnumType): import warnings warnings.warn( "in 3.12 format() will use the enum member, not the enum member's value;\n" - "use a format specifier, such as :d for an IntEnum member, to maintain" + "use a format specifier, such as :d for an IntEnum member, to maintain " "the current display", DeprecationWarning, stacklevel=2,