More random python observations from a perl programmer

Brad Howes bradh at mediaone.net
Thu Aug 19 21:22:33 EDT 1999


duncan at rcp.co.uk (Duncan Booth) writes:

> Or if you know you are going to have a tuple, you could declare the 
> function to take a tuple as its argument:
> def fn((x,y)): ...

Get out! You can do that?! Wow -- learn something new every day. Thanks!

Brad

-- 
Brad Howes                    bradh at mediaone.net




More information about the Python-list mailing list