diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-10-12 14:24:37 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-10-12 14:24:37 -0400 |
commit | 0ca3d06129aeca4ac508487f6b06f700dc0fe7d3 (patch) | |
tree | 2644f9e767e65ab5d2352c440f2bb784da3202c6 | |
parent | 1dcc9c7b25e50647aed75d1e3ef55a410ac298a6 (diff) | |
download | six-0ca3d06129aeca4ac508487f6b06f700dc0fe7d3.tar.gz |
link to python docs for dict view methods
-rw-r--r-- | documentation/index.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index 93b1daa..57786ea 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -206,21 +206,21 @@ functions and methods is the stdlib :mod:`py3:inspect` module. .. function:: viewkeys(dictionary) Return a view over *dictionary*\'s keys. This replaces - ``dictionary.viewkeys()`` on Python 2.7 and ``dictionary.keys()`` on + :meth:`py2:dict.viewkeys` on Python 2.7 and :meth:`py3:dict.keys` on Python 3. .. function:: viewvalues(dictionary) Return a view over *dictionary*\'s values. This replaces - ``dictionary.viewvalues()`` on Python 2.7 and ``dictionary.values()`` on + :meth:`py2:dict.viewvalues` on Python 2.7 and :meth:`py3:dict.values` on Python 3. .. function:: viewitems(dictionary) Return a view over *dictionary*\'s items. This replaces - ``dictionary.viewitems()`` on Python 2.7 and ``dictionary.items()`` on + :meth:`py2:dict.viewitems` on Python 2.7 and :meth:`py3:dict.items` on Python 3. |