Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Include/internal/pycore_stackref.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ extern "C" {
unboxed integers harder in the future.

Steal means that ownership is transferred to something else. The total
number of references to the object stays the same.
number of references to the object stays the same. The old reference is no
longer valid.

New creates a new reference from the old reference. The old reference
is still valid.

With these 3 API, a strict stack discipline must be maintained. All
_PyStackRef must be operated on by the new reference operations:
All _PyStackRef must be operated on by the new reference operations:

1. DUP
2. CLOSE
Expand Down
Loading