mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Add missing space to warning message (GH-14915)
This typo was introduced in GH-13409 when changing the message text.
This commit is contained in:
parent
71876fa438
commit
c4106af38b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def __getattr__(name):
|
||||||
obj = getattr(_collections_abc, name)
|
obj = getattr(_collections_abc, name)
|
||||||
import warnings
|
import warnings
|
||||||
warnings.warn("Using or importing the ABCs from 'collections' instead "
|
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",
|
"and in 3.9 it will stop working",
|
||||||
DeprecationWarning, stacklevel=2)
|
DeprecationWarning, stacklevel=2)
|
||||||
globals()[name] = obj
|
globals()[name] = obj
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue