newbie question: nop statement for try/except
Wolfram Kraus
kraus at hagen-partner.de
Tue Mar 16 07:50:12 EST 2004
leo wrote:
> hi there
>
> the "try/[except|finally]" construct seems to need the second part
> "except" resp. "finally" due to syntactical reasons.
>
> but in some cases i guess i do not need any statement in the second
> part. but just carrying on without an idented block doesn't work.
>
> so, is there something a no-operation statement?
pass
> thanks, leo
HTH,
Wolfram
More information about the Python-list
mailing list