Commit 56f46f8d authored by Neal Norwitz's avatar Neal Norwitz

Pyrangeiter_Type && range_iter should be static

parent a683233d
......@@ -218,9 +218,9 @@ typedef struct {
long len;
} rangeiterobject;
PyTypeObject Pyrangeiter_Type;
staticforward PyTypeObject Pyrangeiter_Type;
PyObject *
static PyObject *
range_iter(PyObject *seq)
{
rangeiterobject *it;
......@@ -261,7 +261,7 @@ static PyMethodDef rangeiter_methods[] = {
{NULL, NULL} /* sentinel */
};
PyTypeObject Pyrangeiter_Type = {
static PyTypeObject Pyrangeiter_Type = {
PyObject_HEAD_INIT(&PyType_Type)
0, /* ob_size */
"rangeiterator", /* tp_name */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment