kopia lustrzana https://github.com/micropython/micropython-lib
collections: Rename collections.* to collections-*.
This is to match the convention for naming "extension" packages. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>pull/537/head
rodzic
c262628a41
commit
f1039fd2f2
|
@ -2,4 +2,5 @@ metadata(version="0.3")
|
|||
|
||||
# Originally written by Paul Sokolovsky.
|
||||
|
||||
require("collections")
|
||||
package("collections")
|
|
@ -1,3 +1,4 @@
|
|||
metadata(version="0.1.3")
|
||||
|
||||
require("collections")
|
||||
package("collections")
|
|
@ -1,9 +1,7 @@
|
|||
# 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
|
||||
# Replace built-in collections module.
|
||||
from ucollections import *
|
||||
|
||||
# Provide optional dependencies (which may be installed separately).
|
||||
try:
|
||||
from .defaultdict import defaultdict
|
||||
except ImportError:
|
||||
|
|
Ładowanie…
Reference in New Issue