https://github.com/python/cpython/commit/07f0bf5aa4ca34e692c16e14129d79c161ee206f
commit: 07f0bf5aa4ca34e692c16e14129d79c161ee206f
branch: main
author: Bénédikt Tran <[email protected]>
committer: iritkatriel <[email protected]>
date: 2024-09-10T15:25:27+01:00
summary:

gh-123165: update docs signature for `dis.disassemble` (#123808)

files:
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index c0bb977e4fe148..cad73192f7cd43 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to