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
Docstrings in itertools recipes should have triple-quotes #86616
Comments
In the itertools recipes ( https://docs.python.org/3/library/itertools.html#itertools-recipes ) there are 21 functions that have single-quote docstrings. These should be changed to triple-quotes, as mandated in PEP-257. |
I don't think the readability of the examples would be improved by triple quotes. In fact, I think it would be reduced. |
I concur with Eric. |
Although I do have to say it wouldn't offend me if the partition and nth_combination examples were changed to double quotes to be consistent! But it's not important. |
Thanks Eric, I will update those quotation marks in the next edit to the recipes. Peter, sorry I closed this so abruptly. All suggestions are welcome. In this case, readability trumps other rules. Also, PEP-257 wasn't intended to be strict. Lots of code in the standard library follows local conventions which vary module to module. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: