summaryrefslogtreecommitdiffstats
path: root/Tools/idle/FrameViewer.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-02 21:28:54 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-02 21:28:54 (GMT)
commit504b0bf066e4fddb21646331e89c2f6836c5c638 (patch)
treef5454648430eb4818810305325561aabb02cf035 /Tools/idle/FrameViewer.py
parentf07c328c072e62ada8671ec30392572add22d904 (diff)
downloadcpython-504b0bf066e4fddb21646331e89c2f6836c5c638.zip
cpython-504b0bf066e4fddb21646331e89c2f6836c5c638.tar.gz
cpython-504b0bf066e4fddb21646331e89c2f6836c5c638.tar.bz2
Checking in IDLE 0.2.
Much has changed -- too much, in fact, to write down. The big news is that there's a standard way to write IDLE extensions; see extend.txt. Some sample extensions have been provided, and some existing code has been converted to extensions. Probably the biggest new user feature is a new search dialog with more options, search and replace, and even search in files (grep). This is exactly as downloaded from my laptop after returning from the holidays -- it hasn't even been tested on Unix yet.
Diffstat (limited to 'Tools/idle/FrameViewer.py')
-rw-r--r--Tools/idle/FrameViewer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/idle/FrameViewer.py b/Tools/idle/FrameViewer.py
index e5a6051..2ce0935 100644
--- a/Tools/idle/FrameViewer.py
+++ b/Tools/idle/FrameViewer.py
@@ -10,7 +10,7 @@ class FrameViewer:
self.repr = Repr()
self.repr.maxstring = 60
self.load_variables()
-
+
def load_variables(self):
row = 0
if self.frame.f_locals is not self.frame.f_globals:
@@ -22,7 +22,7 @@ class FrameViewer:
borderwidth=2, relief="raised")
l.grid(row=row, column=0, columnspan=2, sticky="ew")
row = self.load_names(self.frame.f_globals, row+1)
-
+
def load_names(self, dict, row):
names = dict.keys()
names.sort()