Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c6830c

Browse files
committed
update items/keys/values doc #10300
1 parent 327433f commit 3c6830c

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Doc/c-api/dict.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,18 @@ Dictionary Objects
112112
113113
.. c:function:: PyObject* PyDict_Items(PyObject *p)
114114
115-
Return a :c:type:`PyListObject` containing all the items from the
116-
dictionary, as in the dictionary method :meth:`dict.items`.
115+
Return a :c:type:`PyListObject` containing all the items from the dictionary.
117116
118117
119118
.. c:function:: PyObject* PyDict_Keys(PyObject *p)
120119
121-
Return a :c:type:`PyListObject` containing all the keys from the dictionary,
122-
as in the dictionary method :meth:`dict.keys`.
120+
Return a :c:type:`PyListObject` containing all the keys from the dictionary.
123121
124122
125123
.. c:function:: PyObject* PyDict_Values(PyObject *p)
126124
127-
Return a :c:type:`PyListObject` containing all the values from the
128-
dictionary *p*, as in the dictionary method :meth:`dict.values`.
125+
Return a :c:type:`PyListObject` containing all the values from the dictionary
126+
*p*.
129127
130128
131129
.. c:function:: Py_ssize_t PyDict_Size(PyObject *p)

0 commit comments

Comments
 (0)