Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision e467be6511a83525d8875e1e3d196443a88faee9 authored by Guido van Rossum on 05 December 1997, 19:42:42 UTC, committed by Guido van Rossum on 05 December 1997, 19:42:42 UTC
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.
1 parent 346f7af
History
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.0 KB
Makefile.in -rw-r--r-- 16.1 KB
README -rw-r--r-- 36.0 KB
acconfig.h -rw-r--r-- 2.7 KB
config.h.in -rw-r--r-- 9.9 KB
configure -rwxr-xr-x 113.3 KB
configure.in -rw-r--r-- 17.4 KB
install-sh -rwxr-xr-x 2.1 KB

README

back to top