On 6/15/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
>
> In gen.throw(), are all three arguments required? Or do the value and
> traceback Nones need to be listed explicitly?
>
>g.throw(MyException)
>
> or
>
>g.throw(MyException, None, None)
>
> FWIW, I prefer the former. Tha
In gen.throw(), are all three
arguments required? Or do the value
and traceback Nones need to be listed explicitly?
g.throw(MyException)
or
g.throw(MyException, None, None)
FWIW, I prefer the former. That will make throw() as flexible as
the raise statement.