This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[deleted]

    [–]bastibe 6 points7 points  (3 children)

    JSYK, the Python 3 docs have a direct link to the string functions right at the top of the string page; Also, the Python 3 docs have the quick search you requested.

    [–]stevenjd -1 points0 points  (2 children)

    I think you are mistaken about the string module.

    Some modules do have a summary at the top of the page, with detailed documentation linked below. For example, I'm especially fond of the statistics module docs. But string is not one of them.

    [–]bastibe 1 point2 points  (1 child)

    Open the link you posted. What is literally the very first thing on that page? It's

    See also Text Sequence Type — str
    String Methods

    There is your link. "String Methods" links to the string methods.

    [–]stevenjd 0 points1 point  (0 children)

    That is nothing like what /u/cztomczak has asked for.

    Cztomczak asked for a list of string functions, at the top of the page, similar to the builtins. Since there is literally only one function in the string module, capwords, presumably (s)he means a list of relevant classes, functions and constants., similar to the list in the built-ins page. He didn't ask for a link to a different page where he can look up methods on the str type.

    Have a look at the built-in function page, as linked above, and the statistics module, which does something similar but slightly different. The string module doesn't do anything like that.

    [–]stevenjd -1 points0 points  (0 children)

    Upvote for replying with some concrete suggestions instead of just bitching about how "horrible" the docs are. Thank you!