diff options
author | Guido van Rossum <guido@python.org> | 1996-05-16 17:50:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-16 17:50:07 (GMT) |
commit | a5f875f5046e5d81f66ea201c3fb6efc65346674 (patch) | |
tree | 303147e789dc181c64eb8374290ee535661a114a /Lib/lib-tk | |
parent | 68784363669529361bf2c6cf4dbd52c70f4600c0 (diff) | |
download | cpython-a5f875f5046e5d81f66ea201c3fb6efc65346674.zip cpython-a5f875f5046e5d81f66ea201c3fb6efc65346674.tar.gz cpython-a5f875f5046e5d81f66ea201c3fb6efc65346674.tar.bz2 |
Yet another mini fix to pack/grid info.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 8234077..ae5aca4 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -668,7 +668,7 @@ class Pack: for i in range(0, len(words), 2): key = words[i][1:] value = words[i+1] - if value[0] == '.': + if value[:1] == '.': value = self._nametowidget(value) dict[key] = value return dict @@ -745,7 +745,7 @@ class Grid: for i in range(0, len(words), 2): key = words[i][1:] value = words[i+1] - if value[0] == '.': + if value[:1] == '.': value = self._nametowidget(value) dict[key] = value return dict |