bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (G… · python/cpython@c4a786b (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit c4a786b
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -208,7 +208,7 @@ def repeat(self, repeat=default_repeat, number=default_number): | ||
208 | 208 | return r |
209 | 209 | |
210 | 210 | def autorange(self, callback=None): |
211 | -"""Return the number of loops so that total time >= 0.2. | |
211 | +"""Return the number of loops and time taken so that total time >= 0.2. | |
212 | 212 | |
213 | 213 | Calls the timeit method with *number* set to successive powers of |
214 | 214 | ten (10, 100, 1000, ...) up to a maximum of one billion, until |