]> granicus.if.org Git - python/commitdiff
Add missing space to warning message (GH-14915) (GH-15379)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 Aug 2019 06:30:26 +0000 (23:30 -0700)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Thu, 22 Aug 2019 06:30:26 +0000 (23:30 -0700)
This typo was introduced in GH-13409 when changing the message text.
(cherry picked from commit c4106af38bbcb180725fe0d9478e6a11f7a5e7b9)

Co-authored-by: Florian Bruhin <me@the-compiler.org>
Lib/collections/__init__.py

index 3d1d93e113fd71dfbdd6b477cde38c8c0359042b..469690be8c8e444aa23a8cfae00c8103b6387512 100644 (file)
@@ -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