Fix cmdline doc to make '-m timeit' consistent with other parts of th…#16910
Fix cmdline doc to make '-m timeit' consistent with other parts of th…#16910jgors wants to merge 1 commit intopython:mainfrom
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
I noticed that it works before submitting the PR, but it seems odd to me. Just like this works, Think of *nix commands. For example, It's not really clear why this command line behavior in python would be intentional. Even though it currently works as is, it's not obvious as to why this is (or should be) the case. I created an issue for this. |
|
I believe the consistence by itself already is a good argument for the PR. @jgors as Ned wrote at the issue, have you seen other cases that needs update? |
…e docs.
The syntax in the cmdline documentation is confusing regarding the
-m timeitcode. In the timeit documentation it always shows the command line invocation aspython -m timeit, so this is just a very simple PR to keep the docs consistent throughout.