-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-35138: Added an example for timeit.timeit with callable arguments #9787
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
Conversation
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 for the PR 👍 Good to know that I can use callables which is more friendly instead of code as strings :)
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
I removed the " needs backport to 3.6" label, the 3.6 branch no longer accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches |
Can someone help? I think I've fixed the requested changes and marked them as complete but it still looks like it's waiting for changes... |
You need to add the below comment so that the bot can toggle the status. "I have made the requested changes; please review again" |
I have made the requested changes; please review again |
Thanks for making the requested changes! @berkerpeksag: please review the changes made to this pull request. |
…pythonGH-9787) * Update timeit.rst (cherry picked from commit 8da5ebe) Co-authored-by: Anders Hovmöller <[email protected]>
GH-13295 is a backport of this pull request to the 3.7 branch. |
…GH-9787) * Update timeit.rst (cherry picked from commit 8da5ebe) Co-authored-by: Anders Hovmöller <[email protected]>
The timeit module has a feature that is documented, but seems so hard to spot in the docs that it is easily missed. This PR adds a small example to make this feature easier to spot.
See python-ideas discussion: https://groups.google.com/forum/#!topic/python-ideas/0HzCEj0H9NM
https://bugs.python.org/issue35138