[Python-ideas] string codes & substring equality

Ethan Furman ethan at stoneleaf.us
Thu Nov 28 00:52:00 CET 2013


On 11/27/2013 03:30 PM, Chris Angelico wrote:
>
> Am I going to check help("".upper) to see if it can
>  also convert digits to superscript?

Heh, that would be cool.

I retract (most of) my comment.  start(end)swith is certainly not an obvious name for something that can also do random 
substring comparisons.

Personally, I do search the docs when looking for functionality I don't know about.  As there is no obvious substring 
method I would check the docs for all the string methods to see if any of them had any thing close to, or exactly, what 
I needed.

But, hey, maybe that's just me.  :)

--
~Ethan~


More information about the Python-ideas mailing list