mirror of
https://github.com/python/cpython.git
synced 2025-11-15 00:00:00 +00:00
Fix a typo and touch up blank lines
This commit is contained in:
parent
6e7d0ba309
commit
889a7dcb3a
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`collections` --- Container datatypes
|
:mod:`collections` --- Container datatypes
|
||||||
==========================================
|
==========================================
|
||||||
|
|
||||||
|
|
@ -886,7 +885,7 @@ original insertion position is changed and moved to the end::
|
||||||
del self[key]
|
del self[key]
|
||||||
OrderedDict.__setitem__(self, key, value)
|
OrderedDict.__setitem__(self, key, value)
|
||||||
|
|
||||||
An ordered dictionary can combined with the :class:`Counter` class
|
An ordered dictionary can be combined with the :class:`Counter` class
|
||||||
so that the counter remembers the order elements are first encountered::
|
so that the counter remembers the order elements are first encountered::
|
||||||
|
|
||||||
class OrderedCounter(Counter, OrderedDict):
|
class OrderedCounter(Counter, OrderedDict):
|
||||||
|
|
@ -985,6 +984,7 @@ attribute.
|
||||||
subclass) or an arbitrary sequence which can be converted into a string using
|
subclass) or an arbitrary sequence which can be converted into a string using
|
||||||
the built-in :func:`str` function.
|
the built-in :func:`str` function.
|
||||||
|
|
||||||
|
|
||||||
.. _collections-abstract-base-classes:
|
.. _collections-abstract-base-classes:
|
||||||
|
|
||||||
ABCs - abstract base classes
|
ABCs - abstract base classes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue