mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
bpo-43957: Add a missins space to the new format enum warning (#25770)
This commit is contained in:
parent
e983252b51
commit
9a42d5069a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user