summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/ManPage.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/ManPage.py')
-rwxr-xr-xDemo/tkinter/guido/ManPage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/tkinter/guido/ManPage.py b/Demo/tkinter/guido/ManPage.py
index b8b6682..4f0af8c 100755
--- a/Demo/tkinter/guido/ManPage.py
+++ b/Demo/tkinter/guido/ManPage.py
@@ -2,6 +2,7 @@
import regex
from Tkinter import *
+from Tkinter import _tkinter
from ScrolledText import ScrolledText
# XXX These fonts may have to be changed to match your system
@@ -44,7 +45,7 @@ class EditableManPage(ScrolledText):
# Parse a file, in the background
def asyncparsefile(self, fp):
self._startparser(fp)
- self.tk.createfilehandler(fp, tkinter.READABLE,
+ self.tk.createfilehandler(fp, _tkinter.READABLE,
self._filehandler)
parsefile = asyncparsefile # Alias