On 11/24/06, Tony Lownds <[EMAIL PROTECTED]> wrote: > On Nov 24, 2006, at 8:30 AM, Guido van Rossum wrote: > > (It does imply that we can't use "-> None" to indicate "returns no > > value". We'd have to spell that as "-> type(None)" or find some other > > way. I think I don't care. Do others? Collin?) > > That's fine with me, but just to toss out another idea: we could put the > return annotation in func_annotations['return'].
This is the solution I had initially envisioned, for exactly the reason Guido outlines. Collin Winter _______________________________________________ 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