scoping assertion
Gerrit Holl
gerrit.holl at pobox.com
Thu Jul 8 15:16:51 EDT 1999
On Wed, Jul 07, 1999 at 03:36:56PM -0600, Andrew Dalke wrote:
> From: Andrew Dalke <dalke at bioreason.com>
> Subject: Re: scoping assertion
> Date: Wed, 07 Jul 1999 15:36:56 -0600
> To: python-list at python.org
>
>
> try:
> 1/0
> except ZeroDivisionError:
>
isn't the following much easier, faster and readabler?
try:
raise err
except err:
regards,
Gerrit.
--
The Dutch Linuxgames homepage: http://linuxgames.nl.linux.org
Personal homepage: http://www.nl.linux.org/~gerrit/
Discoverb is a python program (in several languages) which tests the words you
learned by asking it. Homepage: http://www.nl.linux.org/~gerrit/discoverb/
Oh my god! They killed init! You bastards!
More information about the Python-list
mailing list