Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit adaca02

Browse files
committed
Use the standard argument convention for main(), and conform to the
Python/C style guide.
1 parent fe3f696 commit adaca02

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/ext/embedding.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ \section{Very High Level Embedding
5858
\begin{verbatim}
5959
#include <Python.h>
6060
61-
int main()
61+
int
62+
main(int argc, char *argv[])
6263
{
6364
Py_Initialize();
6465
PyRun_SimpleString("from time import time,ctime\n"

0 commit comments

Comments
 (0)