File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ 2006-08-29 setupext.py: wrap calls to tk.getvar() with str(). On some
2+ systems, getvar returns a Tcl_Obj instead of a string - DSD
3+
142006-08-28 mathtext2.py: Sub/superscripts can now be complex (i.e.
25 fractions etc.). The demo is also updated - ES
36
Original file line number Diff line number Diff line change @@ -354,18 +354,18 @@ def find_tcltk():
354354 o .tkv = ""
355355 else :
356356 tk .withdraw ()
357- o .tcl_lib = os .path .normpath (os .path .join ((tk .getvar ('tcl_library' )), '../' ))
357+ o .tcl_lib = os .path .normpath (os .path .join (str (tk .getvar ('tcl_library' )), '../' ))
358358 o .tk_lib = os .path .normpath (os .path .join (str (tk .getvar ('tk_library' )), '../' ))
359359 o .tkv = str (Tkinter .TkVersion )[:3 ]
360- o .tcl_inc = os .path .normpath (os .path .join ((tk .getvar ('tcl_library' )),
360+ o .tcl_inc = os .path .normpath (os .path .join (str (tk .getvar ('tcl_library' )),
361361 '../../include/tcl' + o .tkv ))
362362 if not os .path .exists (o .tcl_inc ):
363- o .tcl_inc = os .path .normpath (os .path .join ((tk .getvar ('tcl_library' )),
363+ o .tcl_inc = os .path .normpath (os .path .join (str (tk .getvar ('tcl_library' )),
364364 '../../include' ))
365- o .tk_inc = os .path .normpath (os .path .join ((tk .getvar ('tk_library' )),
365+ o .tk_inc = os .path .normpath (os .path .join (str (tk .getvar ('tk_library' )),
366366 '../../include/tk' + o .tkv ))
367367 if not os .path .exists (o .tk_inc ):
368- o .tk_inc = os .path .normpath (os .path .join ((tk .getvar ('tk_library' )),
368+ o .tk_inc = os .path .normpath (os .path .join (str (tk .getvar ('tk_library' )),
369369 '../../include' ))
370370
371371 if ((not os .path .exists (os .path .join (o .tk_inc ,'tk.h' ))) and
You can’t perform that action at this time.
0 commit comments