File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ duration of the call.
234
234
However, a common pitfall is to extract an object from a list and hold on to it
235
235
for a while without incrementing its reference count. Some other operation might
236
236
conceivably remove the object from the list, decrementing its reference count
237
- and possible deallocating it. The real danger is that innocent-looking
237
+ and possibly deallocating it. The real danger is that innocent-looking
238
238
operations may invoke arbitrary Python code which could do this; there is a code
239
239
path which allows control to flow back to the user from a :c:func: `Py_DECREF `, so
240
240
almost any operation is potentially dangerous.
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ objects.
58
58
the macro carefully uses a temporary variable and sets the argument to *NULL *
59
59
before decrementing its reference count.
60
60
61
- It is a good idea to use this macro whenever decrementing the value of a
62
- variable that might be traversed during garbage collection.
61
+ It is a good idea to use this macro whenever decrementing the reference
62
+ count of an object that might be traversed during garbage collection.
63
63
64
64
65
65
The following functions are for runtime dynamic embedding of Python:
You can’t perform that action at this time.
0 commit comments