How do you find what exceptions a class can throw?
Chris Green
cl at isbd.net
Sun Dec 20 04:39:17 EST 2020
I am using poplib.POP3_SSL() and I want to know what exceptions can be
thrown when I instantiate it. Presumably it inherits them because
there's nothing much in the documentation page for poplib.POP3_SSL().
I specifically want to trap timeout exceptions.
(... and, yes, I know I should maybe move to IMAP but that's too much
work at the moment!)
--
Chris Green
ยท
More information about the Python-list
mailing list