From 621c644205384103ac781bbe8cd952f0df289c41 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 2 May 2016 14:02:54 +0300 Subject: [PATCH] docs: _io and _collections were renamed to have standard "u" prefix. --- docs/library/index.rst | 12 ++++++------ docs/library/{_collections.rst => ucollections.rst} | 8 ++++---- docs/library/{_io.rst => uio.rst} | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) rename docs/library/{_collections.rst => ucollections.rst} (89%) rename docs/library/{_io.rst => uio.rst} (96%) 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 similarity index 89% rename from docs/library/_collections.rst rename to 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 similarity index 96% rename from docs/library/_io.rst rename to 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