[EMAIL PROTECTED] a écrit :
> In python, how do I know what exceptions a method
s/method/callable/
A method is only a thin wrapper around a function, and functions are
just one kind of callable object (classes are another, and you can
define your own...)
> could raise?
Practically speaking, y
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> In python, how do I know what exceptions a method could raise? Do I
> need to look at the source? I don't see this info in the API docs for
> any of the APIs I'm using.
Hi Dale,
Usually the docs for a method will list the likely except
On Oct 19, 10:32 am, [EMAIL PROTECTED] wrote:
> In python, how do I know what exceptions a method could raise? Do I
> need to look at the source? I don't see this info in the API docs for
> any of the APIs I'm using.
>
> Thanks in advance for your help.
Read the source, run unit tests, etc. If y
In python, how do I know what exceptions a method could raise? Do I
need to look at the source? I don't see this info in the API docs for
any of the APIs I'm using.
Thanks in advance for your help.
--
http://mail.python.org/mailman/listinfo/python-list