while True or while 1

Hrvoje Niksic hniksic at xemacs.org
Mon Jan 23 08:28:09 EST 2012


Dave Angel <d at davea.name> writes:
> I do something similar when there's a portion of code that should
> never be reached:
>> assert("reason why I cannot get here")

Shouldn't that be assert False, "reason why I cannot get here"?


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /