From 9a42d5069a4c2a531076abfb198d2be26b57216c Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sat, 1 May 2021 20:26:09 +0100 Subject: bpo-43957: Add a missins space to the new format enum warning (#25770) --- Lib/enum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v0.12