In Doc/library/*.rst, should stdlib class methods/attributes be alphabetised?

Is there a best practise regarding the ordering of methods/attributes of stdlib module classes in the docs? Some of them are alphabetised, some are partly alphabetised, some of them are grouped (semi) logically, and some just seem put together completely out of order :slight_smile: If there was a best practise, adding docs for new methods/attributes would be a little bit easier.

1 Like

I think the best practice is a combination of what you noticed: group by sub-topic if there are many functions (with an index table at the top if needed, like some modules do have), otherwise alphabetically to make it easy to find things.

1 Like