diff options
author | Georg Brandl <georg@python.org> | 2008-07-05 10:07:18 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-05 10:07:18 +0000 |
commit | 3c0fd5616fb8147d2d4832e527dcaa8a53f230c0 (patch) | |
tree | d27039466629db7c9982913e867e4bdd9061b0f0 /Python/pythonrun.c | |
parent | Update comment on prediction macros. (diff) | |
download | cpython-3c0fd5616fb8147d2d4832e527dcaa8a53f230c0.tar.gz cpython-3c0fd5616fb8147d2d4832e527dcaa8a53f230c0.tar.bz2 cpython-3c0fd5616fb8147d2d4832e527dcaa8a53f230c0.zip |
Fix tabs.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 785519bdc36..caa7ba8fbd0 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -229,14 +229,14 @@ Py_InitializeEx(int install_sigs) if (install_sigs) initsigs(); /* Signal handling stuff, including initintr() */ - /* Initialize warnings. */ - _PyWarnings_Init(); - if (PySys_HasWarnOptions()) { - PyObject *warnings_module = PyImport_ImportModule("warnings"); - if (!warnings_module) - PyErr_Clear(); - Py_XDECREF(warnings_module); - } + /* Initialize warnings. */ + _PyWarnings_Init(); + if (PySys_HasWarnOptions()) { + PyObject *warnings_module = PyImport_ImportModule("warnings"); + if (!warnings_module) + PyErr_Clear(); + Py_XDECREF(warnings_module); + } initmain(); /* Module __main__ */ if (!Py_NoSiteFlag) @@ -1126,7 +1126,7 @@ PyErr_PrintEx(int set_sys_last_vars) PyErr_NormalizeException(&exception, &v, &tb); if (exception == NULL) return; - /* Now we know v != NULL too */ + /* Now we know v != NULL too */ if (set_sys_last_vars) { PySys_SetObject("last_type", exception); PySys_SetObject("last_value", v); @@ -1861,14 +1861,14 @@ PyRun_AnyFileFlags(FILE *fp, const char *name, PyCompilerFlags *flags) PyAPI_FUNC(PyObject *) PyRun_File(FILE *fp, const char *p, int s, PyObject *g, PyObject *l) { - return PyRun_FileExFlags(fp, p, s, g, l, 0, NULL); + return PyRun_FileExFlags(fp, p, s, g, l, 0, NULL); } #undef PyRun_FileEx PyAPI_FUNC(PyObject *) PyRun_FileEx(FILE *fp, const char *p, int s, PyObject *g, PyObject *l, int c) { - return PyRun_FileExFlags(fp, p, s, g, l, c, NULL); + return PyRun_FileExFlags(fp, p, s, g, l, c, NULL); } #undef PyRun_FileFlags @@ -1876,7 +1876,7 @@ PyAPI_FUNC(PyObject *) PyRun_FileFlags(FILE *fp, const char *p, int s, PyObject *g, PyObject *l, PyCompilerFlags *flags) { - return PyRun_FileExFlags(fp, p, s, g, l, 0, flags); + return PyRun_FileExFlags(fp, p, s, g, l, 0, flags); } #undef PyRun_SimpleFile |