Merged revisions 86144 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86144 | benjamin.peterson | 2010-11-03 16:35:28 -0500 (Wed, 03 Nov 2010) | 1 line

  update items/keys/values doc #10300
........
This commit is contained in:
Benjamin Peterson 2010-11-03 21:39:07 +00:00
parent 26899f476e
commit 48bbc68c8b
1 changed files with 4 additions and 6 deletions

View File

@ -117,20 +117,18 @@ Dictionary Objects
.. cfunction:: PyObject* PyDict_Items(PyObject *p) .. cfunction:: PyObject* PyDict_Items(PyObject *p)
Return a :ctype:`PyListObject` containing all the items from the Return a :c:type:`PyListObject` containing all the items from the dictionary.
dictionary, as in the dictionary method :meth:`dict.items`.
.. cfunction:: PyObject* PyDict_Keys(PyObject *p) .. cfunction:: PyObject* PyDict_Keys(PyObject *p)
Return a :ctype:`PyListObject` containing all the keys from the dictionary, Return a :c:type:`PyListObject` containing all the keys from the dictionary.
as in the dictionary method :meth:`dict.keys`.
.. cfunction:: PyObject* PyDict_Values(PyObject *p) .. cfunction:: PyObject* PyDict_Values(PyObject *p)
Return a :ctype:`PyListObject` containing all the values from the Return a :c:type:`PyListObject` containing all the values from the dictionary
dictionary *p*, as in the dictionary method :meth:`dict.values`. *p*.
.. cfunction:: Py_ssize_t PyDict_Size(PyObject *p) .. cfunction:: Py_ssize_t PyDict_Size(PyObject *p)