File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ Dictionary Objects
185
185
``NULL ``, and return ``0 ``.
186
186
- On error, raise an exception and return ``-1 ``.
187
187
188
- This is the similar to :meth: `dict.pop `, but without the default value and
189
- do not raise :exc: `KeyError ` if the key missing.
188
+ This is similar to :meth: `dict.pop `, but without the default value and
189
+ not raising :exc: `KeyError ` if the key missing.
190
190
191
191
.. versionadded :: 3.13
192
192
Original file line number Diff line number Diff line change @@ -1169,8 +1169,8 @@ New Features
1169
1169
(Contributed by Victor Stinner in :gh: `111138 `.)
1170
1170
1171
1171
* Add :c:func: `PyDict_Pop ` and :c:func: `PyDict_PopString ` functions: remove a
1172
- key from a dictionary and optionally return the removed value. This is the
1173
- similar to :meth: `dict.pop `, but without the default value and do not raise
1172
+ key from a dictionary and optionally return the removed value. This is
1173
+ similar to :meth: `dict.pop `, but without the default value and not raising
1174
1174
:exc: `KeyError ` if the key missing.
1175
1175
(Contributed by Stefan Behnel and Victor Stinner in :gh: `111262 `.)
1176
1176
Original file line number Diff line number Diff line change 1
1
Add :c:func: `PyDict_Pop ` and :c:func: `PyDict_PopString ` functions: remove a key
2
- from a dictionary and optionally return the removed value. This is the similar
3
- to :meth: `dict.pop `, but without the default value and do not raise
4
- :exc: ` KeyError ` if the key missing. Patch by Stefan Behnel and Victor Stinner.
2
+ from a dictionary and optionally return the removed value. This is similar to
3
+ :meth: `dict.pop `, but without the default value and not raising :exc: ` KeyError `
4
+ if the key missing. Patch by Stefan Behnel and Victor Stinner.
You can’t perform that action at this time.
0 commit comments