]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123165: update docs signature for `dis.disassemble` (#123808)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 10 Sep 2024 14:25:27 +0000 (16:25 +0200)
committerGitHub <noreply@github.com>
Tue, 10 Sep 2024 14:25:27 +0000 (15:25 +0100)
Doc/library/dis.rst

index c0bb977e4fe148850aafc855fecb4f791f7d136c..cad73192f7cd43319be1200e4c0e5f933dda810e 100644 (file)
@@ -312,7 +312,8 @@ operation is being performed, so the intermediate analysis object isn't useful:
    .. versionchanged:: 3.14
       Added the *show_positions* parameter.
 
-.. function:: disassemble(code, lasti=-1, *, file=None, show_caches=False, adaptive=False)
+.. function:: disassemble(code, lasti=-1, *, file=None, show_caches=False,\
+                          adaptive=False, show_offsets=False, show_positions=False)
               disco(code, lasti=-1, *, file=None, show_caches=False, adaptive=False,\
                     show_offsets=False, show_positions=False)