You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any recommendation against adding concise example snippets for all methods?
I am of the opinion that short examples are more easier to read and visually skim through, than reading the description. I was hoping I could add example snippets to the simpler methods if anyone does not have any objection towards it.
We generally only put the examples where they add something substantive. Otherwise, it just make the docs verbose and time consuming to read start to finish.
Adding an example for str.lower() contributes no additional value. Most published Python books would all avoid the unnecessary here as well. FWIW, we have no evidence that any user has ever found the current form hard to use.
So, let's close this. If you're looking for places to contribute, please look at the open bugs where there are known problems.
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: