how to assert that method accepts specific types

andrew cooke andrew at
Sat Feb 21 02:50:27 CET 2009

Darren Dale wrote:
> I would like to assert that a method accepts certain types. I have a
> short example that works:

just in case it's useful - are you aware that pep3107 (which looks like it
should be leet-speak for something) is implemented in python 3?


More information about the Python-list mailing list