[Python-3000] signature annotation in the function signature or a separate line (original) (raw)

Josiah Carlson jcarlson at uci.edu
Mon Aug 21 00:47:52 CEST 2006


"Guido van Rossum" <guido at python.org> wrote:

> given the precedent of type inferenced languages > that use a separate line for optional type information

Can you show us an example or two?

C/C++ probably doesn't count, being that type information is required, but one can relocate type information to other lines...

void cross(inp1, inp2, inpl1, inpl2, outp) double* inp1; double* inp2; long inpl1; long inpl2; double* outp { /* body goes here */ }



More information about the Python-3000 mailing list