]> 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:07:16 +0000 (01:07 -0700)
committerGitHub <noreply@github.com>
Fri, 3 Apr 2020 08:07:16 +0000 (01:07 -0700)
(cherry picked from commit b74468e233a5137ff518e61eff65ca2d8833e38a)

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

index f4dfe16c75402808e36072cf10436bb199f1c3a4..34ae1a3a6d83d949267afe1abd53b0cc6522a5e4 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.