Mercurial > cpython-lru_cache-weakref
view Modules/ccpython.cc @ 31175:5cc1a400a02c legacy-trunk
Use dictionary specific looping idiom where possible.
Simplifies and speeds-up the code.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sat, 13 Dec 2003 14:46:46 +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); }
