File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- :mod: `ucollections ` -- collection and container types
1+ :mod: `collections ` -- collection and container types
22=====================================================
33
44.. include :: ../templates/unsupported_in_circuitpython.inc
55
6- .. module :: ucollections
6+ .. module :: collections
77 :synopsis: collection and container types
88
99|see_cpython_module | :mod: `cpython:collections `.
@@ -24,7 +24,7 @@ Classes
2424 a string with space-separated field named (but this is less efficient).
2525 Example of use::
2626
27- from ucollections import namedtuple
27+ from collections import namedtuple
2828
2929 MyTuple = namedtuple("MyTuple", ("id", "name"))
3030 t1 = MyTuple(1, "foo")
@@ -38,7 +38,7 @@ Classes
3838 added. When ordered dict is iterated over, keys/items are returned in
3939 the order they were added::
4040
41- from ucollections import OrderedDict
41+ from collections import OrderedDict
4242
4343 # To make benefit of ordered keys, OrderedDict should be initialized
4444 # from sequence of (key, value) pairs.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Python standard libraries and micro-libraries
2121 gc.rst
2222 sys.rst
2323 binascii.rst
24- ucollections .rst
24+ collections .rst
2525 uerrno.rst
2626 hashlib.rst
2727 uheapq.rst
You can’t perform that action at this time.
0 commit comments