Added flip function.

This commit is contained in:
Jeremy Fincher 2003-07-30 21:47:21 +00:00
parent a6f8ddab18
commit b7cb48b19b

View File

@ -260,4 +260,7 @@ def partition(p, L):
no.append(elt) no.append(elt)
return (yes, no) return (yes, no)
def flip((x, y)):
return (y, x)
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: