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