]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40122: Updated documentation for dis.findlabels() (GH-19274)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 3 Apr 2020 08:06:07 +0000 (01:06 -0700)
committerGitHub <noreply@github.com>
Fri, 3 Apr 2020 08:06:07 +0000 (01:06 -0700)
(cherry picked from commit b74468e233a5137ff518e61eff65ca2d8833e38a)

Co-authored-by: laike9m <laike9m@users.noreply.github.com>
Doc/library/dis.rst

index 0cfcc6982593273f7b3865e3314726e265da4a0d..4b604f592165853dc57c578a1eea05d9a1240bfe 100644 (file)
@@ -244,7 +244,7 @@ operation is being performed, so the intermediate analysis object isn't useful:
 
 .. 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.