[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-03-24 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset ecf39bbc97adc0fb67654602e37d0d8313e9be9d by Xiang Zhang in branch 'master': bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) https://github.com/python/cpython/commit/ecf39bbc97adc0fb67654602e37d0d8313e9be9d --

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-03-24 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset c4a786b8ad2a625594551ab3bc991a6831ba7688 by Xiang Zhang in branch '3.6': bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353) https://github.com/python/cpython/commit/c4a786b8ad2a625594551ab3bc991a6831ba7688

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-27 Thread Xiang Zhang
Xiang Zhang added the comment: Thanks Raymond! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-27 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +302 ___ Python tracker ___ ___ Python-bugs-list

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-27 Thread Xiang Zhang
Xiang Zhang added the comment: Of course that is okay. I didn't do what you propose since I thought it's somewhat superfluous, what is returned is mentioned below. I choose 'calculate' when I see 'Automatically determine how many times to call timeit()' in the documentation. --

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: How about: Return the number of loops and time taken so that total time >= 0.2. Instead of: Return the number of loops so that total time >= 0.2. The proposed "calculate" instead of "return" isn't really correct. -- nosy: +rhettinger

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-26 Thread Xiang Zhang
Changes by Xiang Zhang : -- assignee: -> xiang.zhang nosy: +xiang.zhang stage: -> patch review versions: +Python 3.7 ___ Python tracker

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-26 Thread Xiang Zhang
Changes by Xiang Zhang : -- pull_requests: +291 ___ Python tracker ___ ___ Python-bugs-list

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-26 Thread Antony Lee
New submission from Antony Lee: The docstring of timeit.Timer.autorange currently reads | Return the number of loops so that total time >= 0.2. | | Calls the timeit method with *number* set to successive powers of | ten (10, 100, 1000, ...) up to a

[issue29661] Typo in the docstring of timeit.Timer.autorange

2017-02-26 Thread Antony Lee
Changes by Antony Lee : -- nosy: -Antony.Lee ___ Python tracker ___ ___