Staging
v0.5.1
https://github.com/python/cpython
Revision 211e4c6e9c1ab60bb2577dda6587fbec79f679b2 authored by Miss Islington (bot) on 27 August 2020, 00:51:44 UTC, committed by GitHub on 27 August 2020, 00:51:44 UTC
(cherry picked from commit 94ad6c674f7687ef22853cb8d42b440d6b42ddc8)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
1 parent 9de6be4
Raw File
Tip revision: 211e4c6e9c1ab60bb2577dda6587fbec79f679b2 authored by Miss Islington (bot) on 27 August 2020, 00:51:44 UTC
bpo-33660: Fix PosixPath to resolve a relative path on root (#21974)
Tip revision: 211e4c6
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