commit | adaca02f9e549eb6edde6229b662eef2ab5849b5 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Sep 06 16:17:24 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Sep 06 16:17:24 2001 +0000 |
tree | e488aaa018b58f9a7ad62705d3ba382211c793eb | |
parent | fe3f6969f54cfd3df24f54572a809e0deb47064f [diff] [blame] |
Use the standard argument convention for main(), and conform to the Python/C style guide.
diff --git a/Doc/ext/embedding.tex b/Doc/ext/embedding.tex index 3afdd48..90663dc 100644 --- a/Doc/ext/embedding.tex +++ b/Doc/ext/embedding.tex
@@ -58,7 +58,8 @@ \begin{verbatim} #include <Python.h> -int main() +int +main(int argc, char *argv[]) { Py_Initialize(); PyRun_SimpleString("from time import time,ctime\n"