Paul Rubin wrote: > Bruno Desthuilliers <[EMAIL PROTECTED]> writes: >>> But if the user doesn't enter any text, I don't want the method to >>> return at all (even None). >> John, please re-read the FineManual(tm). None is the default return >> value of a function - even if there's no return statement. > > Correct, but if the user doesn't enter text, the function is supposed > to loop and prompt for text again, instead of returning.
Yes, that's what I meant. I didn't want it to return *yet* until a value was entered. -- http://mail.python.org/mailman/listinfo/python-list