diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index d353ff2b6f127b..5bc036d20a7215 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -47,8 +47,8 @@ def __getattr__(name): obj = getattr(_collections_abc, name) import warnings warnings.warn("Using or importing the ABCs from 'collections' instead " - "of from 'collections.abc' is deprecated since Python 3.3," - "and in 3.9 it will stop working", + "of from 'collections.abc' is deprecated since Python 3.3, " + "and in 3.10 it will stop working", DeprecationWarning, stacklevel=2) globals()[name] = obj return obj