I propose that: def foo(print(x)): pass
becomes: def foo(x): x = print(x) pass or, alternatively we could have decorators in function args: def foo(@print x): pass which would probably be more aligned with the rest of python actually. anyway, this would be nice I think. I could really use it. _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/EWDIK6FN4GTOFPE7JRQEAUCW7GYAZRDT/ Code of Conduct: http://python.org/psf/codeofconduct/
