]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43957: Add a missins space to the new format enum warning (#25770)
authorPablo Galindo <Pablogsal@gmail.com>
Sat, 1 May 2021 19:26:09 +0000 (20:26 +0100)
committerGitHub <noreply@github.com>
Sat, 1 May 2021 19:26:09 +0000 (20:26 +0100)
Lib/enum.py

index bccf024b520a9bc4756b016307ec4501e6c747a7..01f431001a9bf063d99e81d0a98bc75aee255823 100644 (file)
@@ -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,