mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use the standard argument convention for main(), and conform to the
Python/C style guide.
This commit is contained in:
parent
fe3f6969f5
commit
adaca02f9e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue