• Guido van Rossum's avatar
    When instantiating a class with no arguments and where the class does · e467be65
    Guido van Rossum yazdı
    not define __getinitargs__, bypass the __init__ constructor
    completely.  This uses the trick of instantiating an empty dummy class
    and then changing inst.__class__ to the real class.  This is done in
    two places: once for the INST and once for the OBJ format code.
    
    Also replaced the much outdated long doc string with a short summary
    of the module; the information of that doc string is already
    incorporated in the library reference manual.
    e467be65
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...