mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
ANSI-fication
This commit is contained in:
parent
c4bc0e0895
commit
e89b15691e
2 changed files with 11 additions and 32 deletions
|
@ -8,9 +8,7 @@
|
|||
#include "timing.h"
|
||||
|
||||
static PyObject *
|
||||
start_timing(self, args)
|
||||
PyObject *self;
|
||||
PyObject *args;
|
||||
start_timing(PyObject *self, PyObject *args)
|
||||
{
|
||||
if (!PyArg_Parse(args, ""))
|
||||
return NULL;
|
||||
|
@ -21,9 +19,7 @@ start_timing(self, args)
|
|||
}
|
||||
|
||||
static PyObject *
|
||||
finish_timing(self, args)
|
||||
PyObject *self;
|
||||
PyObject *args;
|
||||
finish_timing(PyObject *self, PyObject *args)
|
||||
{
|
||||
if (!PyArg_Parse(args, ""))
|
||||
return NULL;
|
||||
|
@ -34,9 +30,7 @@ finish_timing(self, args)
|
|||
}
|
||||
|
||||
static PyObject *
|
||||
seconds(self, args)
|
||||
PyObject *self;
|
||||
PyObject *args;
|
||||
seconds(PyObject *self, PyObject *args)
|
||||
{
|
||||
if (!PyArg_Parse(args, ""))
|
||||
return NULL;
|
||||
|
@ -46,9 +40,7 @@ seconds(self, args)
|
|||
}
|
||||
|
||||
static PyObject *
|
||||
milli(self, args)
|
||||
PyObject *self;
|
||||
PyObject *args;
|
||||
milli(PyObject *self, PyObject *args)
|
||||
{
|
||||
if (!PyArg_Parse(args, ""))
|
||||
return NULL;
|
||||
|
@ -57,9 +49,7 @@ milli(self, args)
|
|||
|
||||
}
|
||||
static PyObject *
|
||||
micro(self, args)
|
||||
PyObject *self;
|
||||
PyObject *args;
|
||||
micro(PyObject *self, PyObject *args)
|
||||
{
|
||||
if (!PyArg_Parse(args, ""))
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue