Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 26889:12753e7b15f7 legacy-trunk
SF #561244, Micro optimizations
Initialize the small integers and __builtins__ in startup.
This removes some if conditions.
Change XDECREF to DECREF for values which shouldn't be NULL.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 30 Dec 2002 22:29:22 +0000 |
| parents | 54aacb87beda |
| children | dbfc3ef7d003 |
line wrap: on
line diff
--- a/Include/pythonrun.h Mon Dec 30 22:23:40 2002 +0000 +++ b/Include/pythonrun.h Mon Dec 30 22:29:22 2002 +0000 @@ -100,6 +100,7 @@ PyAPI_FUNC(void) _PyImport_Init(void); PyAPI_FUNC(void) _PyExc_Init(void); PyAPI_FUNC(void) _PyImportHooks_Init(void); +PyAPI_FUNC(int) PyFrame_Init(void); /* Various internal finalizers */ PyAPI_FUNC(void) _PyExc_Fini(void);
