Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Nov 21, 2023
1 parent 390c7a2 commit 020c742
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ the following command can be used to display the disassembly of
.. doctest::

>>> dis.dis(myfunc)
2 RESUME 0
2 RESUME 0
<BLANKLINE>
3 LOAD_GLOBAL 1 (len + NULL)
LOAD_FAST 0 (alist)
CALL 1
RETURN_VALUE
3 LOAD_GLOBAL 1 (len + NULL)
LOAD_FAST 0 (alist)
CALL 1
RETURN_VALUE

(The "2" is a line number).

Expand Down

0 comments on commit 020c742

Please sign in to comment.