pydoc string.find (doc bug/typo?)

Thomas R. Corbin tc at clark.net
Sun Jan 6 10:12:29 EST 2002


pydoc string.find contains this (in both 1.5 and 2.1):

    find(s, sub [,start [,end]]) -> in

Is that supposed to be "int", rather than "in"?

Also, I'm wondering why "index" doesn't show up
in the python1.5 pydoc?

In addition, why don't all the functions in python2's
string.py show up in pydoc?  I understand that they
are deprecated, but I don't see what clues pydoc into
not showing them.   

Lastly, how would I get pydoc to show docs on the builtin
string class?

Thanks for your help,
Tom




More information about the Python-list mailing list