Make joy/gui/controllerlistbox.py compatible with Python 3.
This commit is contained in:
parent
b0676719a5
commit
5dea9349f0
|
|
@ -18,12 +18,15 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
'''
|
'''
|
||||||
from Tkinter import Listbox, SINGLE
|
from future import standard_library
|
||||||
from Tkdnd import dnd_start
|
standard_library.install_aliases()
|
||||||
|
from builtins import map, object, str
|
||||||
|
from tkinter import Listbox, SINGLE
|
||||||
|
from tkinter.dnd import dnd_start
|
||||||
from joy.utils.stack import iter_stack, list_to_stack, expression_to_string
|
from joy.utils.stack import iter_stack, list_to_stack, expression_to_string
|
||||||
|
|
||||||
|
|
||||||
class SourceWrapper:
|
class SourceWrapper(object):
|
||||||
'''
|
'''
|
||||||
Helper object for drag and drop.
|
Helper object for drag and drop.
|
||||||
'''
|
'''
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue