Use the standard argument convention for main(), and conform to the

Python/C style guide.
This commit is contained in:
Fred Drake 2001-09-06 16:17:24 +00:00
parent fe3f6969f5
commit adaca02f9e
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ on a file.
\begin{verbatim}
#include <Python.h>
int main()
int
main(int argc, char *argv[])
{
Py_Initialize();
PyRun_SimpleString("from time import time,ctime\n"