Author kishvanchee
Recipients docs@python, kishvanchee
Date 2019-07-11.06:49:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562827779.24.0.52309043258.issue37557@roundup.psfhosted.org>
In-reply-to
Content
Is there a reason why many (not all) of the simpler methods lack example snippets?

Snippets which are present:

1. https://docs.python.org/3/library/stdtypes.html#str.rstrip
2. https://docs.python.org/3/library/stdtypes.html#str.strip

Snippets which are not present:

1. https://docs.python.org/3/library/stdtypes.html#str.lower
2. https://docs.python.org/3/library/stdtypes.html#str.upper
3. https://docs.python.org/3/library/stdtypes.html#str.isupper

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.
History
Date User Action Args
2019-07-11 06:49:39kishvancheesetrecipients: + kishvanchee, docs@python
2019-07-11 06:49:39kishvancheesetmessageid: <1562827779.24.0.52309043258.issue37557@roundup.psfhosted.org>
2019-07-11 06:49:39kishvancheelinkissue37557 messages
2019-07-11 06:49:38kishvancheecreate