mirror of https://github.com/python/cpython
#8616: update module name
This commit is contained in:
parent
04ee3375fb
commit
574a857640
|
@ -212,7 +212,7 @@ class DemoWindow(object):
|
||||||
self.text.delete("1.0", "end")
|
self.text.delete("1.0", "end")
|
||||||
self.text.insert("1.0",chars)
|
self.text.insert("1.0",chars)
|
||||||
direc, fname = os.path.split(filename)
|
direc, fname = os.path.split(filename)
|
||||||
self.root.title(fname[6:-3]+" - an xturtle example")
|
self.root.title(fname[6:-3]+" - a Python turtle graphics example")
|
||||||
self.module = __import__(fname[:-3])
|
self.module = __import__(fname[:-3])
|
||||||
reload(self.module)
|
reload(self.module)
|
||||||
self.configGUI(NORMAL, NORMAL, DISABLED, DISABLED,
|
self.configGUI(NORMAL, NORMAL, DISABLED, DISABLED,
|
||||||
|
|
Loading…
Reference in New Issue