[Python-checkins] bpo-40122: Updated documentation for dis.findlabels() (GH-19274)

Miss Islington (bot) webhook-mailer at python.org
Fri Apr 3 04:07:24 EDT 2020


https://github.com/python/cpython/commit/77c623ba3d084e99d68c30f368bd7fbd7f175b60
commit: 77c623ba3d084e99d68c30f368bd7fbd7f175b60
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-04-03T01:07:16-07:00
summary:

bpo-40122: Updated documentation for dis.findlabels() (GH-19274)

(cherry picked from commit b74468e233a5137ff518e61eff65ca2d8833e38a)

Co-authored-by: laike9m <laike9m at users.noreply.github.com>

files:
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index f4dfe16c75402..34ae1a3a6d83d 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.
 
 



More information about the Python-checkins mailing list