commit | bdfcfccbe591e15221f35add01132174c9b4e669 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jan 01 19:35:13 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jan 01 19:35:13 1992 +0000 |
tree | 7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb | |
parent | 4d8e859e8f0a209a7e999ce9cc0988156c795949 [diff] [blame] |
New == syntax
diff --git a/Lib/lib-stdwin/CSplit.py b/Lib/lib-stdwin/CSplit.py index 5c57d90..90d137e 100644 --- a/Lib/lib-stdwin/CSplit.py +++ b/Lib/lib-stdwin/CSplit.py
@@ -43,7 +43,7 @@ # XXX One day Python will have automatic conversions... n = len(self.children) fn = float(n) - if n = 0: return + if n == 0: return (left, top), (right, bottom) = bounds width, height = right-left, bottom-top child_width, child_height = width*3/(n+4), height*3/(n+4)