summaryrefslogtreecommitdiffstats
path: root/Objects/namespaceobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/namespaceobject.c')
-rw-r--r--Objects/namespaceobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/namespaceobject.c b/Objects/namespaceobject.c
index 29141a8..fa37ed2 100644
--- a/Objects/namespaceobject.c
+++ b/Objects/namespaceobject.c
@@ -91,8 +91,6 @@ namespace_repr(PyObject *ns)
keys = PyDict_Keys(d);
if (keys == NULL)
goto error;
- if (PyList_Sort(keys) != 0)
- goto error;
keys_iter = PyObject_GetIter(keys);
if (keys_iter == NULL)