diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-07 16:52:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-07 16:52:56 +0000 |
commit | e1e1d6fa3224440612d3ad6595c413f88d552702 (patch) | |
tree | eaa3301c9fecd1d01baa642b2e483fee4430bcee /Master/texmf-dist/asymptote/GUI/xasyActions.py | |
parent | 0eefec13710bb4d6aff6838a6efc463912506ee9 (diff) |
asymptote 2.37
git-svn-id: svn://tug.org/texlive/trunk@40303 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/GUI/xasyActions.py')
-rwxr-xr-x | Master/texmf-dist/asymptote/GUI/xasyActions.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasyActions.py b/Master/texmf-dist/asymptote/GUI/xasyActions.py index 38aae1d5c7e..95411c5d9a4 100755 --- a/Master/texmf-dist/asymptote/GUI/xasyActions.py +++ b/Master/texmf-dist/asymptote/GUI/xasyActions.py @@ -9,9 +9,13 @@ # ########################################################################### import math +import sys import UndoRedoStack import xasy2asy -from Tkinter import * +if sys.version_info >= (3, 0): + from tkinter import * +else: + from Tkinter import * class translationAction(UndoRedoStack.action): def __init__(self,owner,itemList,indexList,translation): |