bpo-43957: Add a missins space to the new format enum warning (#25770)

This commit is contained in:
Pablo Galindo 2021-05-01 20:26:09 +01:00 committed by GitHub
parent e983252b51
commit 9a42d5069a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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,