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

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


https://github.com/python/cpython/commit/00c779fd9c0a9e7586681a44e35607c1113b5014
commit: 00c779fd9c0a9e7586681a44e35607c1113b5014
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-04-03T01:06:07-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 0cfcc69825932..4b604f5921658 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