assert module search

Skip Montanaro skip at mojam.com
Wed Nov 3 11:39:17 EST 1999


    mehta> which module does assert function belong to?  I tried to link to
    mehta> it through api docs but led me to exceptions module.

Assert is a keyword in the language, not a function.  Docs for it are at

    http://www.python.org/doc/current/ref/assert.html

Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/
847-971-7098   | Python: Programming the way Guido indented...





More information about the Python-list mailing list