Kaydet (Commit) 3c6830ca authored tarafından Benjamin Peterson's avatar Benjamin Peterson

update items/keys/values doc #10300

üst 327433f8
...@@ -112,20 +112,18 @@ Dictionary Objects ...@@ -112,20 +112,18 @@ Dictionary Objects
.. c:function:: PyObject* PyDict_Items(PyObject *p) .. c:function:: PyObject* PyDict_Items(PyObject *p)
Return a :c:type:`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`.
.. c:function:: PyObject* PyDict_Keys(PyObject *p) .. c:function:: PyObject* PyDict_Keys(PyObject *p)
Return a :c:type:`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`.
.. c:function:: PyObject* PyDict_Values(PyObject *p) .. c:function:: PyObject* PyDict_Values(PyObject *p)
Return a :c:type:`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*.
.. c:function:: Py_ssize_t PyDict_Size(PyObject *p) .. c:function:: Py_ssize_t PyDict_Size(PyObject *p)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment