kopia lustrzana https://github.com/micropython/micropython-lib
collections: Import independent defaultdict and deque modules into namespace.
rodzic
fc01d606ba
commit
488d248819
|
@ -3,3 +3,11 @@
|
|||
# CPython implementation brings in metaclasses and other bloat.
|
||||
# This is going to be just import-all for other modules in a namespace package
|
||||
from _collections import *
|
||||
try:
|
||||
from .defaultdict import defaultdict
|
||||
except ImportError:
|
||||
pass
|
||||
try:
|
||||
from .deque import deque
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
Ładowanie…
Reference in New Issue