]> granicus.if.org Git - python/commitdiff
Add missing space to warning message (GH-14915)
authorFlorian Bruhin <me@the-compiler.org>
Thu, 22 Aug 2019 06:06:51 +0000 (08:06 +0200)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>
Thu, 22 Aug 2019 06:06:51 +0000 (23:06 -0700)
This typo was introduced in GH-13409 when changing the message text.

Lib/collections/__init__.py

index 75d797579d9436c0b1834d7e51194814799ae989..6a3e599a91e6c137f38a8fe36e35d142a565daee 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