mirror of https://github.com/python/cpython
Make more functions static
This commit is contained in:
parent
d8b995f5e8
commit
657d222700
|
@ -16,7 +16,7 @@ bool_print(PyBoolObject *self, FILE *fp, int flags)
|
|||
static PyObject *false_str = NULL;
|
||||
static PyObject *true_str = NULL;
|
||||
|
||||
PyObject *
|
||||
static PyObject *
|
||||
bool_repr(PyBoolObject *self)
|
||||
{
|
||||
PyObject *s;
|
||||
|
@ -47,7 +47,7 @@ PyObject *PyBool_FromLong(long ok)
|
|||
|
||||
/* We define bool_new to always return either Py_True or Py_False */
|
||||
|
||||
PyObject *
|
||||
static PyObject *
|
||||
bool_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
static char *kwlist[] = {"x", 0};
|
||||
|
|
Loading…
Reference in New Issue