summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/GUI/xasyBezierEditor.py
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-07 16:52:56 +0000
committerKarl Berry <karl@freefriends.org>2016-04-07 16:52:56 +0000
commite1e1d6fa3224440612d3ad6595c413f88d552702 (patch)
treeeaa3301c9fecd1d01baa642b2e483fee4430bcee /Master/texmf-dist/asymptote/GUI/xasyBezierEditor.py
parent0eefec13710bb4d6aff6838a6efc463912506ee9 (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/xasyBezierEditor.py')
-rwxr-xr-xMaster/texmf-dist/asymptote/GUI/xasyBezierEditor.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/asymptote/GUI/xasyBezierEditor.py b/Master/texmf-dist/asymptote/GUI/xasyBezierEditor.py
index 998ee4c7c25..75ddeafa2d2 100755
--- a/Master/texmf-dist/asymptote/GUI/xasyBezierEditor.py
+++ b/Master/texmf-dist/asymptote/GUI/xasyBezierEditor.py
@@ -10,11 +10,16 @@
#
###########################################################################
-from Tkinter import *
import math
+import sys
from CubicBezier import *
import xasy2asy
+if sys.version_info >= (3, 0):
+ from tkinter import *
+else:
+ from Tkinter import *
+
class node:
def __init__(self,precontrol,node,postcontrol,uid,isTied = True):
self.node = node