bpo-40122: Updated documentation for dis.findlabels() (GH-19274)
(cherry picked from commit b74468e233
)
Co-authored-by: laike9m <laike9m@users.noreply.github.com>
This commit is contained in:
parent
f2296ef9ce
commit
77c623ba3d
|
@ -244,7 +244,7 @@ operation is being performed, so the intermediate analysis object isn't useful:
|
||||||
|
|
||||||
.. function:: findlabels(code)
|
.. function:: findlabels(code)
|
||||||
|
|
||||||
Detect all offsets in the code object *code* which are jump targets, and
|
Detect all offsets in the raw compiled bytecode string *code* which are jump targets, and
|
||||||
return a list of these offsets.
|
return a list of these offsets.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue