summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-05-01 19:26:09 (GMT)
committerGitHub <noreply@github.com>2021-05-01 19:26:09 (GMT)
commit9a42d5069a4c2a531076abfb198d2be26b57216c (patch)
treef4918eab5fc0c07f95bffce9cd4dfb9ba8c73357 /Lib/enum.py
parente983252b516edb15d4338b0a47631b59ef1e2536 (diff)
downloadcpython-9a42d5069a4c2a531076abfb198d2be26b57216c.zip
cpython-9a42d5069a4c2a531076abfb198d2be26b57216c.tar.gz
cpython-9a42d5069a4c2a531076abfb198d2be26b57216c.tar.bz2
bpo-43957: Add a missins space to the new format enum warning (#25770)
Diffstat (limited to 'Lib/enum.py')
-rw-r--r--Lib/enum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index bccf024..01f4310 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,