summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stdwin')
-rwxr-xr-xLib/stdwin/rect.py2
1 files changed, 1 insertions, 1 deletions
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 @@ def intersect(list):
# 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