lua-users home
lua-l archive

Re: How to make sure some operations in ANY situation? (aka: with statement in Python)

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > So, to make sure that some operations MUST happen just put them out of
> > the 'if':
> > 
> > [...]
> 
> This is neat, simple, and subtly wrong (which is perhaps why other
> languages have unwind-protect et al. in the first place).
> 
> [...]
Thanks for the corrections.
-- Roberto

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