From: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:25:27 +0000 (+0200) Subject: gh-123165: update docs signature for `dis.disassemble` (#123808) X-Git-Tag: v3.14.0a1~530 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=07f0bf5aa4ca34e692c16e14129d79c161ee206f;p=thirdparty%2FPython%2Fcpython.git gh-123165: update docs signature for `dis.disassemble` (#123808) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index c0bb977e4fe1..cad73192f7cd 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)