micropython-lib/collections/collections/__init__.py

14 wiersze
360 B
Python

# Should be reimplemented for MicroPython
# Reason:
# 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