Skip to content
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

gh-130160: use .. program:: directive for documenting cProfile CLI #130314

Merged
merged 5 commits into from
Mar 1, 2025

Conversation

ApostolFet
Copy link
Contributor

@ApostolFet ApostolFet commented Feb 19, 2025

Use .. program:: and .. option:: directive for documenting cProfile CLI


📚 Documentation preview 📚: https://cpython-previews--130314.org.readthedocs.build/

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!
Снимок экрана 2025-02-19 в 21 52 10


.. option:: -m <module>

Specifies that a module is being profiled instead of a script.

.. versionadded:: 3.7
Copy link
Member

Choose a reason for hiding this comment

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

Please, indent these values to be in -m section.

Co-authored-by: Bénédikt Tran <[email protected]>
ApostolFet and others added 2 commits February 23, 2025 11:05
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thank you!

@sobolevn sobolevn added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Mar 1, 2025
@sobolevn sobolevn merged commit 5181ddb into python:main Mar 1, 2025
28 checks passed
@miss-islington-app
Copy link

Thanks @ApostolFet for the PR, and @sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 1, 2025
…le` CLI (pythonGH-130314)

(cherry picked from commit 5181ddb)

Co-authored-by: Apostol Fet <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 1, 2025

GH-130745 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 1, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 1, 2025
…le` CLI (pythonGH-130314)

(cherry picked from commit 5181ddb)

Co-authored-by: Apostol Fet <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Mar 1, 2025

GH-130746 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Mar 1, 2025
sobolevn pushed a commit that referenced this pull request Mar 1, 2025
…ile` CLI (GH-130314) (#130745)

gh-130160: use `.. program::` directive for documenting `cProfile` CLI (GH-130314)
(cherry picked from commit 5181ddb)

Co-authored-by: Apostol Fet <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
sobolevn pushed a commit that referenced this pull request Mar 1, 2025
…ile` CLI (GH-130314) (#130746)

gh-130160: use `.. program::` directive for documenting `cProfile` CLI (GH-130314)
(cherry picked from commit 5181ddb)

Co-authored-by: Apostol Fet <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@ApostolFet ApostolFet deleted the fix-issue-130160 branch March 2, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants