chomp equivalents

Xeno Campanoli xeno at eskimo.com
Sun Feb 17 14:28:26 EST 2002


Is there a chomp equivalent in the "string" object?  rstrip doesn't seem to
take off the newline.

Also, I looked up chomp on the Python website search engine, and it said there
is a chomp.  Am I reading this wrong?  I don't show any chomp procedure in my
python environment.



More information about the Python-list mailing list