summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-22 22:35:31 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-22 22:37:14 +0300
commit3bc9b571bb5e8ffdcdb3ce1e8b20c1fb90520c5b (patch)
tree94f260956d4661eac38a62c7ee136244bac6a157
parent5c8147528e46f5499bc6a5423cc1c6941af80ee3 (diff)
downloadmicropython-3bc9b571bb5e8ffdcdb3ce1e8b20c1fb90520c5b.tar.gz
micropython-3bc9b571bb5e8ffdcdb3ce1e8b20c1fb90520c5b.zip
docs/ustruct: There's no complete "struct" module, only "ustruct" subset.
"ustruct" is good example of micro-ified module, so rather should belong to the corresponding list.
-rw-r--r--docs/library/index.rst5
-rw-r--r--docs/library/ustruct.rst (renamed from docs/library/struct.rst)6
2 files changed, 5 insertions, 6 deletions
diff --git a/docs/library/index.rst b/docs/library/index.rst
index 47cd2eeb8e..5ae1ed86f4 100644
--- a/docs/library/index.rst
+++ b/docs/library/index.rst
@@ -26,7 +26,6 @@ For additional libraries, please download them from the `micropython-lib reposit
gc.rst
math.rst
os.rst
- struct.rst
sys.rst
time.rst
@@ -40,7 +39,6 @@ For additional libraries, please download them from the `micropython-lib reposit
math.rst
os.rst
select.rst
- struct.rst
sys.rst
time.rst
@@ -62,7 +60,6 @@ For additional libraries, please download them from the `micropython-lib reposit
gc.rst
math.rst
- struct.rst
sys.rst
time.rst
@@ -94,6 +91,7 @@ library.
ujson.rst
ure.rst
usocket.rst
+ ustruct.rst
uzlib.rst
.. only:: port_esp8266
@@ -107,6 +105,7 @@ library.
uheapq.rst
ujson.rst
ure.rst
+ ustruct.rst
uzlib.rst
.. only:: port_pyboard
diff --git a/docs/library/struct.rst b/docs/library/ustruct.rst
index 71ee5c9b70..f65d6058df 100644
--- a/docs/library/struct.rst
+++ b/docs/library/ustruct.rst
@@ -1,7 +1,7 @@
-:mod:`struct` -- pack and unpack primitive data types
-=====================================================
+:mod:`ustruct` -- pack and unpack primitive data types
+======================================================
-.. module:: struct
+.. module:: ustruct
:synopsis: pack and unpack primitive data types
See `Python struct <https://docs.python.org/3/library/struct.html>`_ for more