summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:25:33 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 19:25:33 (GMT)
commit4c04be64b38d9f44f4b80fdabf3ef81d88717d83 (patch)
treeb348dd6c608e44e90deaa6f7a982f4db98b96a9a /Modules
parent3768fb1097b0c253716b46313510c27c5afb31f9 (diff)
downloadcpython-4c04be64b38d9f44f4b80fdabf3ef81d88717d83.zip
cpython-4c04be64b38d9f44f4b80fdabf3ef81d88717d83.tar.gz
cpython-4c04be64b38d9f44f4b80fdabf3ef81d88717d83.tar.bz2
This is now the "real" main program -- it calls Py_Main(argc, argv)
which is in the library and does all the work.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/python.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/python.c b/Modules/python.c
new file mode 100644
index 0000000..8a638c7
--- /dev/null
+++ b/Modules/python.c
@@ -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);
+}