This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, ezio.melotti, martin.panter
Date 2015-05-26.13:10:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432645817.29.0.652214354593.issue23560@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch that groups similar methods of the str() class together at various levels.

I added an alphabetical index of the methods, currently as a big paragraph of hyperlinks in the existing String Methods section. Then I added the following seven new sections. Ideally they would be ordered from important to obscure.

* String Formatting
* Searching and Replacing
* Splitting and Joining
* String Classification
* Case Manipulation
* Padding and Stripping
* Translation and Encoding

Within each section, most methods remain separate with no change to their descriptions. Some are grouped under a single description, where a there is an obvious pattern. I have tried put closely related methods nearby, while putting important and simple methods higher up, and moving their obscure and complex counterparts lower down.

Depending on outcome of these changes to the string methods, I may also be interested in doing a similar job to the bytes() and bytearray() methods.
History
Date User Action Args
2015-05-26 13:10:18martin.pantersetrecipients: + martin.panter, ezio.melotti, docs@python
2015-05-26 13:10:17martin.pantersetmessageid: <1432645817.29.0.652214354593.issue23560@psf.upfronthosting.co.za>
2015-05-26 13:10:17martin.panterlinkissue23560 messages
2015-05-26 13:10:17martin.pantercreate