#687648 from Robert Schuppenies: use classic division.

This commit is contained in:
Andrew M. Kuchling 2008-09-13 01:43:28 +00:00
parent e91fcbdf69
commit 2a9b9cbea0
12 changed files with 33 additions and 33 deletions

View file

@ -110,7 +110,7 @@ def test():
def tuple(list):
if len(list) == 0: return ()
if len(list) == 1: return (list[0],)
i = len(list)/2
i = len(list)//2
return tuple(list[:i]) + tuple(list[i:])
if __name__ == "__main__":