diff --git a/Lib/enum.py b/Lib/enum.py index bccf024b520a9b..01f431001a9bf0 100644 --- a/Lib/enum.py +++ b/Lib/enum.py @@ -1018,7 +1018,7 @@ def __format__(self, format_spec): 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,