-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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-110383: Fix documentation profile cumtime fix #112221
gh-110383: Fix documentation profile cumtime fix #112221
Conversation
Doc/library/profile.rst
Outdated
@@ -80,10 +80,10 @@ the following:: | |||
1 0.000 0.000 0.000 0.000 _compiler.py:598(_code) | |||
1 0.000 0.000 0.000 0.000 _parser.py:435(_parse_sub) | |||
|
|||
The first line indicates that 214 calls were monitored. Of those calls, 207 | |||
The first line indicates that 214 calls were monitored. Of those calls, 207 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not change unrelated whitespace.
The first line indicates that 214 calls were monitored. Of those calls, 207 | |
The first line indicates that 214 calls were monitored. Of those calls, 207 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I also thought it was unrelated, just pretty close to context too. Returned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I also prefer one space, but we allow either one or two: https://devguide.python.org/documentation/style-guide/#use-of-whitespace
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Thank you! |
(cherry picked from commit 6bf8f20) Co-authored-by: Alex Ptakhin <me@aptakhin.name> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
(cherry picked from commit 6bf8f20) Co-authored-by: Alex Ptakhin <me@aptakhin.name> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
GH-112262 is a backport of this pull request to the 3.12 branch. |
GH-112263 is a backport of this pull request to the 3.11 branch. |
Thank you for the help! |
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Rephrased for a clearer explanation: profiler docs inaccuracy by 2dfkit
https://mail.python.org/archives/list/docs@python.org/thread/DJNXVVP2UW4R6OAPRA6TE5WMHDC4NKZ6/#DJNXVVP2UW4R6OAPRA6TE5WMHDC4NKZ6
📚 Documentation preview 📚: https://cpython-previews--112221.org.readthedocs.build/