mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
This is now the "real" main program -- it calls Py_Main(argc, argv)
which is in the library and does all the work.
This commit is contained in:
parent
3768fb1097
commit
4c04be64b3
1 changed files with 10 additions and 0 deletions
10
Modules/python.c
Normal file
10
Modules/python.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* Minimal main program -- everything is loaded from the library */
|
||||
|
||||
extern int Py_Main();
|
||||
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
{
|
||||
return Py_Main(argc, argv);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue