Mercurial > cpython-lru_cache-weakref
view Modules/ccpython.cc @ 20737:00a581bdedeb legacy-trunk
When overriding __str__ or __repr__, set the tp_print slot to NULL.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 29 Oct 2001 14:33:44 +0000 |
| parents | 57aa277d7a00 |
| children |
line wrap: on
line source
/* Minimal main program -- everything is loaded from the library */ #include "Python.h" extern "C" DL_EXPORT(int) Py_Main( int argc, char *argv[] ); int main( int argc, char *argv[] ) { return Py_Main(argc, argv); }
