Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
aa5f4aa8
Commit
aa5f4aa8
authored
Nov 06, 2010
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move version added notes into the index table
parent
e0e08228
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
19 deletions
+7
-19
Doc/library/collections.rst
Doc/library/collections.rst
+7
-19
No files found.
Doc/library/collections.rst
View file @
aa5f4aa8
...
...
@@ -19,25 +19,13 @@ This module implements specialized container datatypes providing alternatives to
Python's general purpose built-in containers, :class:`dict`, :class:`list`,
:class:`set`, and :class:`tuple`.
===================== ====================================================================
:func:`namedtuple` factory function for creating tuple subclasses with named fields
:class:`deque` list-like container with fast appends and pops on either end
:class:`Counter` dict subclass for counting hashable objects
:class:`OrderedDict` dict subclass that remembers the order entries were added
:class:`defaultdict` dict subclass that calls a factory function to supply missing values
===================== ====================================================================
.. versionchanged:: 2.4
Added :class:`deque`.
.. versionchanged:: 2.5
Added :class:`defaultdict`.
.. versionchanged:: 2.6
Added :func:`namedtuple` and added abstract base classes.
.. versionchanged:: 2.7
Added :class:`Counter` and :class:`OrderedDict`.
===================== ==================================================================== ===========================
:func:`namedtuple` factory function for creating tuple subclasses with named fields .. versionadded:: 2.6
:class:`deque` list-like container with fast appends and pops on either end .. versionadded:: 2.4
:class:`Counter` dict subclass for counting hashable objects .. versionadded:: 2.7
:class:`OrderedDict` dict subclass that remembers the order entries were added .. versionadded:: 2.7
:class:`defaultdict` dict subclass that calls a factory function to supply missing values .. versionadded:: 2.5
===================== ==================================================================== ===========================
In addition to containers, the collections module provides some ABCs
(abstract base classes) that can be used to test whether a class
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment