https://github.com/python/cpython
Raw File
Tip revision: 9da28d2b3429d1bb30e082e4c9cb544d81fdae20 authored by Ned Deily on 28 June 2021, 16:51:36 UTC
3.7.11
Tip revision: 9da28d2
python.c
/* 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_UnixMain(argc, argv);
}
#endif
back to top