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
f746a1f1
Commit
f746a1f1
authored
Feb 17, 2009
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix-up intro paragraph for collections docs.
parent
7c98a6d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
Doc/library/collections.rst
Doc/library/collections.rst
+13
-13
No files found.
Doc/library/collections.rst
View file @
f746a1f1
...
@@ -16,30 +16,30 @@
...
@@ -16,30 +16,30 @@
__name__ = '<doctest>'
__name__ = '<doctest>'
This module implements high-performance container datatypes. Currently,
This module implements high-performance container datatypes. Currently,
there are two datatypes, :class:`deque` and :class:`defaultdict`, and
there are three datatypes, :class:`Counter`, :class:`deque` and
one datatype factory function, :func:`namedtuple`.
:class:`defaultdict`, and one datatype factory function, :func:`namedtuple`.
The specialized containers provided in this module provide alternatives
to Python's general purpose built-in containers, :class:`dict`,
:class:`list`, :class:`set`, and :class:`tuple`.
.. versionchanged:: 2.4
Added :class:`deque`.
.. versionchanged:: 2.5
.. versionchanged:: 2.5
Added :class:`defaultdict`.
Added :class:`defaultdict`.
.. versionchanged:: 2.6
.. versionchanged:: 2.6
Added :func:`namedtuple`.
Added :func:`namedtuple`
and added abstract base classes
.
The specialized containers provided in this module provide alternatives
.. versionchanged:: 2.7
to Python's general purpose built-in containers, :class:`dict`,
Added :class:`Counter`.
:class:`list`, :class:`set`, and :class:`tuple`.
Besides the containers provided here, the optional :mod:`bsddb`
module offers the ability to create in-memory or file based ordered
dictionaries with string keys using the :meth:`bsddb.btopen` method.
In addition to containers, the collections module provides some ABCs
In addition to containers, the collections module provides some ABCs
(abstract base classes) that can be used to test whether a class
(abstract base classes) that can be used to test whether a class
provides a particular interface, for example,
is it
hashable or
provides a particular interface, for example,
whether it is
hashable or
a mapping.
a mapping.
.. versionchanged:: 2.6
Added abstract base classes.
ABCs - abstract base classes
ABCs - abstract base classes
----------------------------
----------------------------
...
...
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