From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 3 Apr 2020 08:07:16 +0000 (-0700) Subject: bpo-40122: Updated documentation for dis.findlabels() (GH-19274) X-Git-Tag: v3.8.3rc1~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77c623ba3d084e99d68c30f368bd7fbd7f175b60;p=thirdparty%2FPython%2Fcpython.git bpo-40122: Updated documentation for dis.findlabels() (GH-19274) (cherry picked from commit b74468e233a5137ff518e61eff65ca2d8833e38a) Co-authored-by: laike9m --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index f4dfe16c7540..34ae1a3a6d83 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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.