Skip to content

Commit 9a42d50

Browse files
authored
bpo-43957: Add a missins space to the new format enum warning (#25770)
1 parent e983252 commit 9a42d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/enum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ def __format__(self, format_spec):
10181018
import warnings
10191019
warnings.warn(
10201020
"in 3.12 format() will use the enum member, not the enum member's value;\n"
1021-
"use a format specifier, such as :d for an IntEnum member, to maintain"
1021+
"use a format specifier, such as :d for an IntEnum member, to maintain "
10221022
"the current display",
10231023
DeprecationWarning,
10241024
stacklevel=2,

0 commit comments

Comments
 (0)