Equivalent of Java 'throws'

Erik Max Francis max at alcyone.com
Tue Jan 2 01:42:57 EST 2001


Daniel Klein wrote:

>  I've read thru the reference materials concerning exceptions and this
> one's got me stumped.  Is there any way in Python to do this? I
> suspect there isn't since Python is dynamically typed.

Nope, other than some kind of explicit documentation.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ I sidestep the either
\__/ or choices of logic and choose both. | Ken Feit
    Alcyone Systems' Daily Planet / http://www.alcyone.com/planet.html
 A new, virtual planet, every day.



More information about the Python-list mailing list