summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-02 14:02:54 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-02 14:02:54 +0300
commit621c644205384103ac781bbe8cd952f0df289c41 (patch)
tree40359a8e51a436a0676d9b97df73e608b90da8be /docs/library
parent9549590fc69e56557cabec77649558d0bcc1c293 (diff)
downloadmicropython-621c644205384103ac781bbe8cd952f0df289c41.tar.gz
micropython-621c644205384103ac781bbe8cd952f0df289c41.zip
docs: _io and _collections were renamed to have standard "u" prefix.
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/index.rst12
-rw-r--r--docs/library/ucollections.rst (renamed from docs/library/_collections.rst)8
-rw-r--r--docs/library/uio.rst (renamed from docs/library/_io.rst)4
3 files changed, 12 insertions, 12 deletions
diff --git a/docs/library/index.rst b/docs/library/index.rst
index 8b153f0ac9..03e6502d95 100644
--- a/docs/library/index.rst
+++ b/docs/library/index.rst
@@ -28,15 +28,15 @@ library.
:maxdepth: 1
cmath.rst
- _collections.rst
gc.rst
- _io.rst
math.rst
select.rst
sys.rst
ubinascii.rst
+ ucollections.rst
uhashlib.rst
uheapq.rst
+ uio.rst
ujson.rst
uos.rst
ure.rst
@@ -51,15 +51,15 @@ library.
:maxdepth: 1
cmath.rst
- _collections.rst
gc.rst
- _io.rst
math.rst
select.rst
sys.rst
ubinascii.rst
+ ucollections.rst
uhashlib.rst
uheapq.rst
+ uio.rst
ujson.rst
uos.rst
ure.rst
@@ -89,14 +89,14 @@ library.
.. toctree::
:maxdepth: 1
- _collections.rst
gc.rst
- _io.rst
math.rst
sys.rst
ubinascii.rst
+ ucollections.rst
uhashlib.rst
uheapq.rst
+ uio.rst
ujson.rst
uos.rst
ure.rst
diff --git a/docs/library/_collections.rst b/docs/library/ucollections.rst
index 2554c4d0a1..c7ed068c7e 100644
--- a/docs/library/_collections.rst
+++ b/docs/library/ucollections.rst
@@ -1,7 +1,7 @@
-:mod:`_collections` -- collection and container types
+:mod:`ucollections` -- collection and container types
=====================================================
-.. module:: _collections
+.. module:: ucollections
:synopsis: collection and container types
This module implements advanced collection and container types to
@@ -20,7 +20,7 @@ Classes
a string with space-separated field named (but this is less efficient).
Example of use::
- from _collections import namedtuple
+ from ucollections import namedtuple
MyTuple = namedtuple("MyTuple", ("id", "name"))
t1 = MyTuple(1, "foo")
@@ -34,7 +34,7 @@ Classes
added. When ordered dict is iterated over, keys/items are returned in
the order they were added::
- from _collections import OrderedDict
+ from ucollections import OrderedDict
# To make benefit of ordered keys, OrderedDict should be initialized
# from sequence of (key, value) pairs.
diff --git a/docs/library/_io.rst b/docs/library/uio.rst
index 5a56697008..1b3e2a0822 100644
--- a/docs/library/_io.rst
+++ b/docs/library/uio.rst
@@ -1,7 +1,7 @@
-:mod:`_io` -- input/output streams
+:mod:`uio` -- input/output streams
==================================
-.. module:: _io
+.. module:: uio
:synopsis: input/output streams
This module contains additional types of stream (file-like) objects