summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-10-12 14:24:37 -0400
committerBenjamin Peterson <benjamin@python.org>2014-10-12 14:24:37 -0400
commit55ef2e2f343734b151e17c75457f2587cfd29cbc (patch)
tree2644f9e767e65ab5d2352c440f2bb784da3202c6 /documentation
parent64361504e57154e1ff69b5c9d831725a9e3ed1e5 (diff)
downloadsix-git-55ef2e2f343734b151e17c75457f2587cfd29cbc.tar.gz
link to python docs for dict view methods
Diffstat (limited to 'documentation')
-rw-r--r--documentation/index.rst6
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.