diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2021-05-01 20:26:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-01 20:26:09 +0100 |
commit | 9a42d5069a4c2a531076abfb198d2be26b57216c (patch) | |
tree | f4918eab5fc0c07f95bffce9cd4dfb9ba8c73357 /Lib/enum.py | |
parent | e983252b516edb15d4338b0a47631b59ef1e2536 (diff) | |
download | cpython-git-9a42d5069a4c2a531076abfb198d2be26b57216c.tar.gz |
bpo-43957: Add a missins space to the new format enum warning (#25770)
Diffstat (limited to 'Lib/enum.py')
-rw-r--r-- | Lib/enum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py index bccf024b52..01f431001a 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, |