diff options
| author | orivej <[email protected]> | 2022-02-10 16:45:01 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:01 +0300 |
| commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
| tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/python3/src/Programs/python.c | |
| parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 dcc298a1905..84148f7767a 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 |
