[pydotorg-www] Type checking example on "Using Assertions Effectively" page
Mike Housky
mike_h at cox.net
Sun Apr 6 17:36:38 CEST 2014
Hello,
Regarding: https://wiki.python.org/moin/UsingAssertionsEffectively
The example given for using assert to verify argument types uses the
types module to do so, but the types module recommends using the factory
functions in the post-2.2 world. Should this example (and the "safe to
import *" comment following) be rewritten?
Cheers,
H.
More information about the pydotorg-www
mailing list