Skip to content

Commit e81f1c3

Browse files
committed
Fix collections ABC deprecation notice
The deprecation originally slated for 3.9 was deferred to 3.10 (bpo-39674, pythonGH-18545) and the documentation on the 3.8 release was updated accordingly (pythonGH-18748). However the deprecation notice in the code was left as is, and still indicates deprecation with 3.9.
1 parent 754dc35 commit e81f1c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/collections/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __getattr__(name):
4848
import warnings
4949
warnings.warn("Using or importing the ABCs from 'collections' instead "
5050
"of from 'collections.abc' is deprecated since Python 3.3, "
51-
"and in 3.9 it will stop working",
51+
"and in 3.10 it will stop working",
5252
DeprecationWarning, stacklevel=2)
5353
globals()[name] = obj
5454
return obj

0 commit comments

Comments
 (0)