summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorbildzeitung <bildeitung@gmail.com>2018-05-14 14:31:56 -0400
committerbildzeitung <bildeitung@gmail.com>2018-05-14 14:31:56 -0400
commit2ff7148d092547e9573c9136e44a38bc4593e133 (patch)
tree2dd7f7ceef2f12023f87ad38ae84cd4b0269ccef /docs
parentad82a2d08dc8b5ef07a84ee4d85fe8e8d6f0417c (diff)
Update docs s/ucollections/collections/g
Diffstat (limited to 'docs')
-rw-r--r--docs/library/collections.rst (renamed from docs/library/ucollections.rst)8
-rw-r--r--docs/library/index.rst2
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/library/ucollections.rst b/docs/library/collections.rst
index 396ba3c87..849e8b694 100644
--- a/docs/library/ucollections.rst
+++ b/docs/library/collections.rst
@@ -1,9 +1,9 @@
-:mod:`ucollections` -- collection and container types
+:mod:`collections` -- collection and container types
=====================================================
.. include:: ../templates/unsupported_in_circuitpython.inc
-.. module:: ucollections
+.. module:: collections
:synopsis: collection and container types
|see_cpython_module| :mod:`cpython:collections`.
@@ -24,7 +24,7 @@ Classes
a string with space-separated field named (but this is less efficient).
Example of use::
- from ucollections import namedtuple
+ from collections import namedtuple
MyTuple = namedtuple("MyTuple", ("id", "name"))
t1 = MyTuple(1, "foo")
@@ -38,7 +38,7 @@ Classes
added. When ordered dict is iterated over, keys/items are returned in
the order they were added::
- from ucollections import OrderedDict
+ from collections import OrderedDict
# To make benefit of ordered keys, OrderedDict should be initialized
# from sequence of (key, value) pairs.
diff --git a/docs/library/index.rst b/docs/library/index.rst
index 466068640..c7b6879aa 100644
--- a/docs/library/index.rst
+++ b/docs/library/index.rst
@@ -21,7 +21,7 @@ Python standard libraries and micro-libraries
gc.rst
sys.rst
binascii.rst
- ucollections.rst
+ collections.rst
uerrno.rst
hashlib.rst
uheapq.rst