summaryrefslogtreecommitdiff
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
commit0ca3d06129aeca4ac508487f6b06f700dc0fe7d3 (patch)
tree2644f9e767e65ab5d2352c440f2bb784da3202c6
parent1dcc9c7b25e50647aed75d1e3ef55a410ac298a6 (diff)
downloadsix-0ca3d06129aeca4ac508487f6b06f700dc0fe7d3.tar.gz
link to python docs for dict view methods
-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.