Skip to content

Commit

Permalink
Merge pull request #514 from mind1master/master
Browse files Browse the repository at this point in the history
Updated multidict docs
  • Loading branch information
asvetlov committed Sep 18, 2015
2 parents dd4062e + cf27536 commit a43fb39
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions docs/multidict.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,26 +142,23 @@ MultiDict

``d.get(key)`` is equivalent to ``d.getone(key, None)``.

.. method:: keys(getall=True)
.. method:: keys()

Return a new view of the dictionary's keys.

View contains all keys if *getall* is ``True`` (default) or
distinct set of ones otherwise.
View contains all keys, possibly with duplicates.

.. method:: items(getall=True)
.. method:: items()

Return a new view of the dictionary's items (``(key, value)`` pairs).

View contains all items if *getall* is ``True`` (default) or
only first key occurrences otherwise.
View contains all items, multiple items can have the same key.

.. method:: values(getall=True)
.. method:: values()

Return a new view of the dictionary's values.

View contains all values if *getall* is ``True`` (default) or
only first key occurrences otherwise.
View contains all values.

.. method:: pop(key[, default])

Expand Down Expand Up @@ -305,26 +302,23 @@ MultiDictProxy

``d.get(key)`` is equivalent to ``d.getone(key, None)``.

.. method:: keys(getall=True)
.. method:: keys()

Return a new view of the dictionary's keys.

View contains all keys if *getall* is ``True`` (default) or
distinct set of ones otherwise.
View contains all keys, possibly with duplicates.

.. method:: keys(getall=True)
.. method:: items()

Return a new view of the dictionary's items (``(key, value)`` pairs).

View contains all items if *getall* is ``True`` (default) or
only first key occurrences otherwise.
View contains all items, multiple items can have the same key.

.. method:: values(getall=True)
.. method:: values()

Return a new view of the dictionary's values.

View contains all values if *getall* is ``True`` (default) or
only first key occurrences otherwise.
View contains all values.

CIMultiDictProxy
================
Expand Down

0 comments on commit a43fb39

Please sign in to comment.