8000 bpo-44405: make dis cli "official" by CCLDArjun · Pull Request #26714 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-44405: make dis cli "official" #26714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed the dis link
  • Loading branch information
CCLDArjun committed Jun 13, 2021
commit 41b1e54e397391d6b594cb5d18746382728a7409
2 changes: 1 addition & 1 deletion Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ the following command can be used to display the disassembly of

(The "2" is a line number).

c:mod:`dis` an also be invoked as a script to disassemble other scripts. For example::
:mod:`dis` an also be invoked as a script to disassemble other scripts. For example::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

take care the page width (79 chars, if I'm not wrong)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add more detail about the args (infile)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, it seems pretty straightforward. What more to explain other than feed it a python script?


python -m dis myscript.py

Expand Down
0