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 9e474a9 commit f420704Copy full SHA for f420704
1 file changed
Include/internal/pycore_stackref.h
@@ -32,13 +32,13 @@ extern "C" {
32
unboxed integers harder in the future.
33
34
Steal means that ownership is transferred to something else. The total
35
- number of references to the object stays the same.
+ number of references to the object stays the same. The old reference is no
36
+ longer valid.
37
38
New creates a new reference from the old reference. The old reference
39
is still valid.
40
- With these 3 API, a strict stack discipline must be maintained. All
41
- _PyStackRef must be operated on by the new reference operations:
+ All _PyStackRef must be operated on by the new reference operations:
42
43
1. DUP
44
2. CLOSE
0 commit comments