diff options
author | Georg Brandl <georg@python.org> | 2008-07-18 19:06:13 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-18 19:06:13 (GMT) |
commit | 74bbc79d10862727c9126f4f8d8868c021a389e4 (patch) | |
tree | b023834db1dfc875eb379a2f1d270a02988c856c /Demo | |
parent | e2886fd3ca357c4cf7c1584375d9b9bb55d476b7 (diff) | |
download | cpython-74bbc79d10862727c9126f4f8d8868c021a389e4.zip cpython-74bbc79d10862727c9126f4f8d8868c021a389e4.tar.gz cpython-74bbc79d10862727c9126f4f8d8868c021a389e4.tar.bz2 |
Replace all map(None, a) with list(a).
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/tkinter/guido/rmt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/rmt.py b/Demo/tkinter/guido/rmt.py index 440650c..bfea195 100755 --- a/Demo/tkinter/guido/rmt.py +++ b/Demo/tkinter/guido/rmt.py @@ -134,7 +134,7 @@ def fillAppsMenu(): file_m_apps.add('command') file_m_apps.delete(0, 'last') names = root.winfo_interps() - names = map(None, names) # convert tuple to list + names = list(names) names.sort() for name in names: try: |