summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-02-08 10:49:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-02-08 10:49:42 (GMT)
commit06353f76beab69a538d3a55ca9b6df7e9754b999 (patch)
tree3d0caeac4f7b271d32c35333a6b4f47baedbfa46 /Include
parent8a1a5945908c7a0b2b487a98431ff46ab934014a (diff)
downloadcpython-06353f76beab69a538d3a55ca9b6df7e9754b999.zip
cpython-06353f76beab69a538d3a55ca9b6df7e9754b999.tar.gz
cpython-06353f76beab69a538d3a55ca9b6df7e9754b999.tar.bz2
Let reversed() work with itself.
Diffstat (limited to 'Include')
-rw-r--r--Include/listobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/listobject.h b/Include/listobject.h
index 14ed72e..6221b80 100644
--- a/Include/listobject.h
+++ b/Include/listobject.h
@@ -22,6 +22,7 @@ extern "C" {
typedef struct {
PyObject_VAR_HEAD
PyObject **ob_item;
+ int allocated;
} PyListObject;
PyAPI_DATA(PyTypeObject) PyList_Type;