mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Stubs for collections.abc (#671)
The ABC types were moved to collections.abc in 3.3 (but still exist in collections too).
This commit is contained in:
committed by
Guido van Rossum
parent
1b30761802
commit
13b1cdc834
13
stdlib/3/collections/abc.pyi
Normal file
13
stdlib/3/collections/abc.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
# Stubs for collections.abc (introduced from Python 3.3)
|
||||
#
|
||||
# https://docs.python.org/3.3/whatsnew/3.3.html#collections
|
||||
import sys
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
from . import (
|
||||
Container as Container,
|
||||
MutableMapping as MutableMapping,
|
||||
Sequence as Sequence,
|
||||
MutableSequence as MutableSequence,
|
||||
Set as Set,
|
||||
)
|
||||
Reference in New Issue
Block a user