mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Fix phrasing in paragraphs with leading "similar" (#121135)
This commit is contained in:
parent
966260841b
commit
4f1e1dff89
1 changed files with 2 additions and 2 deletions
|
|
@ -156,7 +156,7 @@ Dictionary Objects
|
||||||
|
|
||||||
.. c:function:: int PyDict_GetItemStringRef(PyObject *p, const char *key, PyObject **result)
|
.. c:function:: int PyDict_GetItemStringRef(PyObject *p, const char *key, PyObject **result)
|
||||||
|
|
||||||
Similar than :c:func:`PyDict_GetItemRef`, but *key* is specified as a
|
Similar to :c:func:`PyDict_GetItemRef`, but *key* is specified as a
|
||||||
:c:expr:`const char*` UTF-8 encoded bytes string, rather than a
|
:c:expr:`const char*` UTF-8 encoded bytes string, rather than a
|
||||||
:c:expr:`PyObject*`.
|
:c:expr:`PyObject*`.
|
||||||
|
|
||||||
|
|
@ -206,7 +206,7 @@ Dictionary Objects
|
||||||
``NULL``, and return ``0``.
|
``NULL``, and return ``0``.
|
||||||
- On error, raise an exception and return ``-1``.
|
- On error, raise an exception and return ``-1``.
|
||||||
|
|
||||||
This is similar to :meth:`dict.pop`, but without the default value and
|
Similar to :meth:`dict.pop`, but without the default value and
|
||||||
not raising :exc:`KeyError` if the key missing.
|
not raising :exc:`KeyError` if the key missing.
|
||||||
|
|
||||||
.. versionadded:: 3.13
|
.. versionadded:: 3.13
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue