diff options
| author | orivej <[email protected]> | 2022-02-10 16:44:49 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:44:49 +0300 |
| commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
| tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/tools/python3/src/Programs/python.c | |
| parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/python3/src/Programs/python.c')
| -rw-r--r-- | contrib/tools/python3/src/Programs/python.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/contrib/tools/python3/src/Programs/python.c b/contrib/tools/python3/src/Programs/python.c index 84148f7767a..dcc298a1905 100644 --- a/contrib/tools/python3/src/Programs/python.c +++ b/contrib/tools/python3/src/Programs/python.c @@ -1,17 +1,17 @@ -/* Minimal main program -- everything is loaded from the library */ - -#include "Python.h" - -#ifdef MS_WINDOWS -int -wmain(int argc, wchar_t **argv) -{ - return Py_Main(argc, argv); -} -#else -int -main(int argc, char **argv) -{ +/* Minimal main program -- everything is loaded from the library */ + +#include "Python.h" + +#ifdef MS_WINDOWS +int +wmain(int argc, wchar_t **argv) +{ + return Py_Main(argc, argv); +} +#else +int +main(int argc, char **argv) +{ return Py_BytesMain(argc, argv); -} -#endif +} +#endif |
