diff --git a/IPython/qt/console/completion_html.py b/IPython/qt/console/completion_html.py
index 852fcf3..442c3ff 100644
--- a/IPython/qt/console/completion_html.py
+++ b/IPython/qt/console/completion_html.py
@@ -23,7 +23,7 @@ def html_tableify(item_matrix, select=None, header=None , footer=None) :
html_cols = []
tds = lambda text : u'
'+text+u' | '
trs = lambda text : u''+text+u'
'
- tds_items = [map(tds, row) for row in item_matrix]
+ tds_items = [list(map(tds, row)) for row in item_matrix]
if select :
row, col = select
tds_items[row][col] = u''\
@@ -315,7 +315,7 @@ class CompletionHtml(QtGui.QWidget):
self._old_cursor = cursor
self._index = (0, 0)
sjoin = lambda x : [ y.ljust(w, ' ') for y, w in zip(x, ci['columns_width'])]
- self._justified_items = map(sjoin, items_m)
+ self._justified_items = list(map(sjoin, items_m))
self._update_list(hilight=False)
|