On Sun, 21 May 2017 12:14 am, Gregory Ewing wrote:

> Steve D'Aprano wrote:
>> You mean treat them as syntactically comments?
>> 
>> def function(arg:I can put ***ANYTHING*** I like here!!!):
> 
> They could be parsed as expressions and stored as an AST.
> That would allow introspection, and you could evaluate them
> if you wanted


Ooh, that's a nice idea!




-- 
Steve
Emoji: a small, fuzzy, indistinct picture used to replace a clear and
perfectly comprehensible word.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to