Staging
v0.8.1
https://github.com/python/cpython
Revision 0f91f586ae9b76c3bb44559bd8cd473b1b8de5ff authored by Hai Shi on 08 December 2020, 14:42:42 UTC, committed by GitHub on 08 December 2020, 14:42:42 UTC
Removed PyModule_GetWarningsModule() which is useless due to 
the _warnings module was converted to a builtin module in 2.6.
1 parent b6d98c1
Raw File
Tip revision: 0f91f586ae9b76c3bb44559bd8cd473b1b8de5ff authored by Hai Shi on 08 December 2020, 14:42:42 UTC
bpo-42599: Remove useless PyModule_GetWarningsModule() (GH-23691)
Tip revision: 0f91f58
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_BytesMain(argc, argv);
}
#endif
back to top