Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 78116:8bf691d0b004
Make set_main_loader static (noticed by Antoine Pitrou)
| author | Nick Coghlan <ncoghlan@gmail.com> |
|---|---|
| date | Sun, 15 Jul 2012 23:18:08 +1000 |
| parents | ba264b26d8d9 |
| children | 27e13497d545 |
line wrap: on
line diff
--- a/Python/pythonrun.c Sun Jul 15 23:13:18 2012 +1000 +++ b/Python/pythonrun.c Sun Jul 15 23:18:08 2012 +1000 @@ -1351,7 +1351,7 @@ } int -set_main_loader(PyObject *d, const char *filename, const char *loader_name) +static set_main_loader(PyObject *d, const char *filename, const char *loader_name) { PyInterpreterState *interp; PyThreadState *tstate;
