• Fred Drake's avatar
    pyexpat.errors is a *strange* module! · aa68f457
    Fred Drake authored
    It gets initialized when pyexpat is imported, and is only accessible as an
    attribute of pyexpat; it cannot be imported itself.  This allows it to at
    least be importable after pyexpat itself has been imported by adding it
    to sys.modules, so it is not quite as strange.
    
    This arrangement needs to be better thought out.
    aa68f457
pyexpat.c 27 KB