This module defines names for all object types that are used by the
standard Python interpreter, but not for the types defined by various
extension modules. It is safe to use "from types import *" --
the module does not export any names besides the ones listed here.
New names exported by future versions of this module will all end in
"Type".
Typical use is for functions that do different things depending on
their argument types, like the following:
from types import *
def delete(list, item):
if type(item) is IntType:
del list[item]
else:
list.remove(item)