diff options
Diffstat (limited to 'Lib/lib-stdwin/CSplit.py')
-rw-r--r-- | Lib/lib-stdwin/CSplit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/CSplit.py b/Lib/lib-stdwin/CSplit.py index 5c57d9023e..90d137e6fc 100644 --- a/Lib/lib-stdwin/CSplit.py +++ b/Lib/lib-stdwin/CSplit.py @@ -43,7 +43,7 @@ class CSplit(Split): # 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) |