string() - Is this some kind of sick joke?

Brett g Porter bgporter at artlogic.com
Wed Apr 9 15:57:47 EDT 2003


Daniel Gowans wrote:
> 
> What gives?  Did I get the bogus version?  Is this wishful thinking
> documentation?  I also tried  y.strip("'")  with the same results.
> 

Hm -- works here, running ActiveState 2.2.2 on Win2K:

 >>> y = "'hello'"
 >>> y.strip("'")
'hello'
 >>>





More information about the Python-list mailing list