Skip to content

Commit 32bd0c6

Browse files
committed
Update dis.rst to reflect support for LOAD_FAST_BORROW in the default build
1 parent 6c5faab commit 32bd0c6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Doc/library/dis.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,8 +1404,8 @@ iterations of the loop.
14041404

14051405
.. opcode:: LOAD_FAST_BORROW (var_num)
14061406

1407-
Pushes a borrowed reference to the local ``co_varnames[var_num]`` onto the stack
1408-
in free-threaded builds. In default builds this is identical to ``LOAD_FAST``.
1407+
Pushes a borrowed reference to the local ``co_varnames[var_num]`` onto the
1408+
stack.
14091409

14101410
.. versionadded:: 3.14
14111411

@@ -1420,8 +1420,7 @@ iterations of the loop.
14201420
.. opcode:: LOAD_FAST_BORROW_LOAD_FAST_BORROW (var_nums)
14211421

14221422
Pushes borrowed references to ``co_varnames[var_nums >> 4]`` and
1423-
``co_varnames[var_nums & 15]`` onto the stack in free-threaded builds. This is
1424-
identical to ``LOAD_FAST_LOAD_FAST`` in default builds.
1423+
``co_varnames[var_nums & 15]`` onto the stack.
14251424

14261425
.. versionadded:: 3.14
14271426

0 commit comments

Comments
 (0)