Fredrik Lundh wrote: > James Stroud wrote: > >> It seems I can find a reference to just about every type except those >> for "exit" and "quit" in the standard library somewhere. E.g.: >> >> py> type(__builtins__.Ellipsis) is types.EllipsisType >> True >> >> However, in an appearant break with consistency, this can not be done >> for "exit" and "quit" because site.Quitter is nested inside of the >> setquit() function in the site.py module. > > > consistency with what?
The rest of the __builtins__. > the exact implementation of "quit" and "exit" is implementation and > version dependent; if you need the type, use type(quit) and type(exit), > respectively. Yes, but I was speaking more consistency than convenience (see above for what I mean by consistency). James -- James Stroud UCLA-DOE Institute for Genomics and Proteomics Box 951570 Los Angeles, CA 90095 http://www.jamesstroud.com/ -- http://mail.python.org/mailman/listinfo/python-list