8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9662608 commit 4f1e1dfCopy full SHA for 4f1e1df
Doc/c-api/dict.rst
@@ -156,7 +156,7 @@ Dictionary Objects
156
157
.. c:function:: int PyDict_GetItemStringRef(PyObject *p, const char *key, PyObject **result)
158
159
- Similar than :c:func:`PyDict_GetItemRef`, but *key* is specified as a
+ Similar to :c:func:`PyDict_GetItemRef`, but *key* is specified as a
160
:c:expr:`const char*` UTF-8 encoded bytes string, rather than a
161
:c:expr:`PyObject*`.
162
@@ -206,7 +206,7 @@ Dictionary Objects
206
``NULL``, and return ``0``.
207
- On error, raise an exception and return ``-1``.
208
209
- This is similar to :meth:`dict.pop`, but without the default value and
+ Similar to :meth:`dict.pop`, but without the default value and
210
not raising :exc:`KeyError` if the key missing.
211
212
.. versionadded:: 3.13
0 commit comments