Kaydet (Commit) adaca02f authored tarafından Fred Drake's avatar Fred Drake

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

Python/C style guide.
üst fe3f6969
...@@ -58,7 +58,8 @@ on a file. ...@@ -58,7 +58,8 @@ on a file.
\begin{verbatim} \begin{verbatim}
#include <Python.h> #include <Python.h>
int main() int
main(int argc, char *argv[])
{ {
Py_Initialize(); Py_Initialize();
PyRun_SimpleString("from time import time,ctime\n" PyRun_SimpleString("from time import time,ctime\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment