From 55ef2e2f343734b151e17c75457f2587cfd29cbc Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 12 Oct 2014 14:24:37 -0400 Subject: link to python docs for dict view methods --- documentation/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation') 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. -- cgit v1.2.1