FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-135447: Document the ``NOT_TAKEN`` & ``POP_ITER`` bytecode instructions (GH-135803) by miss-islington · Pull Request #139399 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
16 changes: 16 additions & 0 deletions Doc/library/dis.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,22 @@ operations on it as if it was a Python list. The top of the stack corresponds to
generate line tracing events.


.. opcode:: NOT_TAKEN

Do nothing code.
Used by the interpreter to record :monitoring-event:`BRANCH_LEFT`
and :monitoring-event:`BRANCH_RIGHT` events for :mod:`sys.monitoring`.

.. versionadded:: 3.14


.. opcode:: POP_ITER

Removes the iterator from the top of the stack.

.. versionadded:: 3.14


.. opcode:: POP_TOP

Removes the top-of-stack item::
Expand Down
Loading

Back | FazBrowse Home | New Git URL