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

This commit is contained in:
Bénédikt Tran 2024-09-10 16:25:27 +02:00 committed by GitHub
parent 1b29f4144c
commit 07f0bf5aa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View 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)