Skip to content

Commit f1039fd

Browse files
committed
collections: Rename collections.* to collections-*.
This is to match the convention for naming "extension" packages. Signed-off-by: Jim Mussared <[email protected]>
1 parent c262628 commit f1039fd

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

python-stdlib/collections.defaultdict/manifest.py renamed to python-stdlib/collections-defaultdict/manifest.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
# Originally written by Paul Sokolovsky.
44

5+
require("collections")
56
package("collections")
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
metadata(version="0.1.3")
22

3+
require("collections")
34
package("collections")

python-stdlib/collections/collections/__init__.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Should be reimplemented for MicroPython
2-
# Reason:
3-
# CPython implementation brings in metaclasses and other bloat.
4-
# This is going to be just import-all for other modules in a namespace package
1+
# Replace built-in collections module.
52
from ucollections import *
63

4+
# Provide optional dependencies (which may be installed separately).
75
try:
86
from .defaultdict import defaultdict
97
except ImportError:

0 commit comments

Comments
 (0)