[Python-checkins] Add missing space to warning message (GH-14915) (GH-15379)
Raymond Hettinger
webhook-mailer at python.org
Thu Aug 22 02:30:41 EDT 2019
https://github.com/python/cpython/commit/8ede9676bb8350e6d0206158f795d48075e33081
commit: 8ede9676bb8350e6d0206158f795d48075e33081
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2019-08-21T23:30:26-07:00
summary:
Add missing space to warning message (GH-14915) (GH-15379)
This typo was introduced in GH-13409 when changing the message text.
(cherry picked from commit c4106af38bbcb180725fe0d9478e6a11f7a5e7b9)
Co-authored-by: Florian Bruhin <me at the-compiler.org>
files:
M Lib/collections/__init__.py
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index 3d1d93e113fd..469690be8c8e 100644
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -47,7 +47,7 @@ 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,"
+ "of from 'collections.abc' is deprecated since Python 3.3, "
"and in 3.9 it will stop working",
DeprecationWarning, stacklevel=2)
globals()[name] = obj
More information about the Python-checkins
mailing list