[Python-checkins] Add missing space to warning message (GH-14915)

Raymond Hettinger webhook-mailer at python.org
Thu Aug 22 02:06:58 EDT 2019


https://github.com/python/cpython/commit/c4106af38bbcb180725fe0d9478e6a11f7a5e7b9
commit: c4106af38bbcb180725fe0d9478e6a11f7a5e7b9
branch: master
author: Florian Bruhin <me at the-compiler.org>
committer: Raymond Hettinger <rhettinger at users.noreply.github.com>
date: 2019-08-21T23:06:51-07:00
summary:

Add missing space to warning message (GH-14915)

This typo was introduced in GH-13409 when changing the message text.

files:
M Lib/collections/__init__.py

diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index 75d797579d94..6a3e599a91e6 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