equal
deleted
inserted
replaced
117 return t->tp_alloc(t, 0); |
117 return t->tp_alloc(t, 0); |
118 } |
118 } |
119 |
119 |
120 static void listdir_stat_dealloc(PyObject *o) |
120 static void listdir_stat_dealloc(PyObject *o) |
121 { |
121 { |
122 o->ob_type->tp_free(o); |
122 Py_TYPE(o)->tp_free(o); |
123 } |
123 } |
124 |
124 |
125 static PyObject *listdir_stat_getitem(PyObject *self, PyObject *key) |
125 static PyObject *listdir_stat_getitem(PyObject *self, PyObject *key) |
126 { |
126 { |
127 long index = PyLong_AsLong(key); |
127 long index = PyLong_AsLong(key); |