summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2012-02-04 17:38:10 (GMT)
committerNed Deily <nad@acm.org>2012-02-04 17:38:10 (GMT)
commit08d052ac5aeef434b9ddbe70f96ae9dcc40a5c35 (patch)
tree9a26b9a8c1779a7ef25f8d1d38b953db9d9f2a9d /Lib/idlelib
parent672b3ac2f098374217935d207fa8df77390fc9fb (diff)
parented3b867f330c107ed77044cffb4b28703aa17d08 (diff)
downloadcpython-08d052ac5aeef434b9ddbe70f96ae9dcc40a5c35.zip
cpython-08d052ac5aeef434b9ddbe70f96ae9dcc40a5c35.tar.gz
cpython-08d052ac5aeef434b9ddbe70f96ae9dcc40a5c35.tar.bz2
Issue #13933: merge
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/AutoComplete.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/AutoComplete.py b/Lib/idlelib/AutoComplete.py
index fa1733f..5190990 100644
--- a/Lib/idlelib/AutoComplete.py
+++ b/Lib/idlelib/AutoComplete.py
@@ -190,7 +190,7 @@ class AutoComplete:
bigl = eval("dir()", namespace)
bigl.sort()
if "__all__" in bigl:
- smalll = eval("__all__", namespace)
+ smalll = list(eval("__all__", namespace))
smalll.sort()
else:
smalll = [s for s in bigl if s[:1] != '_']
@@ -200,7 +200,7 @@ class AutoComplete:
bigl = dir(entity)
bigl.sort()
if "__all__" in bigl:
- smalll = entity.__all__
+ smalll = list(entity.__all__)
smalll.sort()
else:
smalll = [s for s in bigl if s[:1] != '_']