From 07f0bf5aa4ca34e692c16e14129d79c161ee206f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9n=C3=A9dikt=20Tran?= <10796600+picnixz@users.noreply.github.com> Date: Tue, 10 Sep 2024 16:25:27 +0200 Subject: gh-123165: update docs signature for `dis.disassemble` (#123808) --- Doc/library/dis.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index c0bb977..cad7319 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) -- cgit v0.12