summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-12-28 07:43:56 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-12-28 07:43:56 (GMT)
commitf1ca7f561c6e02509e17414825305ebcbd6f72b0 (patch)
tree05e27b4da0e97b3fec8536beb820c9a6d9d96c36 /Objects
parent30973414c5ec31cbd6314591d2f359e4b4c5889f (diff)
downloadcpython-f1ca7f561c6e02509e17414825305ebcbd6f72b0.zip
cpython-f1ca7f561c6e02509e17414825305ebcbd6f72b0.tar.gz
cpython-f1ca7f561c6e02509e17414825305ebcbd6f72b0.tar.bz2
complete backout of listobject.c v2.171
Diffstat (limited to 'Objects')
-rw-r--r--Objects/listobject.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index c9e6604..47673be 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2242,10 +2242,6 @@ list_fill(PyListObject *result, PyObject *v)
int n; /* guess for result list size */
int i;
- /* if source is destination, we're done. */
- if (v == (PyObject *)result)
- return 0;
-
n = result->ob_size;
/* Special-case list(a_list), for speed. */