commit | 4fddf33c87e8a377e98b8d05eb5a9808986081c2 | [log] [tgz] |
---|---|---|
author | Sjoerd Mullender <sjoerd@acm.org> | Wed Aug 25 14:09:01 1993 +0000 |
committer | Sjoerd Mullender <sjoerd@acm.org> | Wed Aug 25 14:09:01 1993 +0000 |
tree | 719fb0c4c3d7fe0bafeb6d2b31a96d678d20aa55 | |
parent | f64992e95d3b87799d4a423d2d0c0047b177c56b [diff] [blame] |
XEvent.py: Added support for ExposeEvent. profile.py: Some speed improvements (I hope). rect.py: Bug fix in union().
diff --git a/Lib/stdwin/rect.py b/Lib/stdwin/rect.py index 9bc6342..393eafd 100755 --- a/Lib/stdwin/rect.py +++ b/Lib/stdwin/rect.py
@@ -46,7 +46,7 @@ # This works with a list or tuple argument. # def union(list): - (left, top), (right, bottom) = empty + (left, top), (right, bottom) = list[0] for (l, t), (r, b) in list[1:]: if not is_empty(((l, t), (r, b))): if l < left: left = l