Returning a string

Diez B. Roggisch deets at nospam.web.de
Sat Jan 3 14:12:02 EST 2009


Kless schrieb:
> How is possible that I can print a variable, but when I use *return
> var* it returns an empty string
> 
> http://paste.pocoo.org/show/97588/

I don't see anything that indicates that the returned object is the 
empty string. Simply because there is no code testing for that. And of 
course you don't show any debugging output, which doesn't help either.

Diez



More information about the Python-list mailing list