Skip to content

Commit

Permalink
updated multidict docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mind1m committed Sep 18, 2015
1 parent dd4062e commit cf27536
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 cf27536

Please sign in to comment.