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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/EWDIK6FN4GTOFPE7JRQEAUCW7GYAZRDT/ Code of Conduct: http://python.org/psf/codeofconduct/