Skip to content

Renames ucollections -> collections #836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 14, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update docs s/ucollections/collections/g
  • Loading branch information
bildzeitung committed May 14, 2018
commit 2ff7148d092547e9573c9136e44a38bc4593e133
Original file line number Diff line number Diff line change
@@ -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`.
Expand All @@ -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")
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/library/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy