summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/filewin.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-09 03:39:21 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-09 03:39:21 (GMT)
commitd7500fcbb4d0257f3bcd0c87d17ee61f3b1545e8 (patch)
treedb4a6e4835e04851df721eb4595d7172d8e05c34 /Lib/stdwin/filewin.py
parent045e688f6fc06c87cc93f84e42fb4767a04ba559 (diff)
downloadcpython-d7500fcbb4d0257f3bcd0c87d17ee61f3b1545e8.zip
cpython-d7500fcbb4d0257f3bcd0c87d17ee61f3b1545e8.tar.gz
cpython-d7500fcbb4d0257f3bcd0c87d17ee61f3b1545e8.tar.bz2
These directories renamed: tkinter -> lib-tk, stdwin -> lib-stdwin.
Diffstat (limited to 'Lib/stdwin/filewin.py')
-rwxr-xr-xLib/stdwin/filewin.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/stdwin/filewin.py b/Lib/stdwin/filewin.py
deleted file mode 100755
index df6aa7d..0000000
--- a/Lib/stdwin/filewin.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# Module 'filewin'
-# File windows, a subclass of textwin (which is a subclass of gwin)
-
-import textwin
-import __builtin__
-
-
-# FILE WINDOW
-
-def open_readonly(fn): # Open a file window
- fp = __builtin__.open(fn, 'r')
- w = textwin.open_readonly(fn, fp.read())
- w.fn = fn
- return w
-
-def open(fn): # Open a file window
- fp = __builtin__.open(fn, 'r')
- w = textwin.open(fn, fp.read())
- w.fn = fn
- return w