Use the standard argument convention for main(), and conform to the
Python/C style guide.
This commit is contained in:
parent
fe3f6969f5
commit
adaca02f9e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue