"Jim Jewett" <[EMAIL PROTECTED]> wrote: > >>> def f(name, addr:tuple(street_num, street, city, state, zip)): > ... street_num, street, city, state, zip = addr
Except that it won't work; annotations are evaluated at function definition time, so street_num, street, city, state, zip would need to exist as actual names. It could certainly be faked with X.street_num, but it's all up to the desires of the person doing the annotations. - Josiah _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com