More random python observations from a perl programmer

Brad Howes bradh at mediaone.net
Fri Aug 20 03:22:33 CEST 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