summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
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. */