[Python-ideas] Quick idea: defining variables from functions that take the variable name
Piotr Duda
duda.piotr at gmail.com
Tue May 31 09:50:41 EDT 2016
2016-05-31 15:01 GMT+02:00 Sven R. Kunze <srkunze at mail.de>:
>
> Anyway, what's the difference between:
>
> a = <something>
>
> and
>
> def a = <something>
>
def a = <something>
will bind name 'a' to <something>, there was proposal to make it equivalent
for
a = <something>.__def__('a', <module name>, <qual name>)
--
闇に隠れた黒い力
弱い心を操る
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160531/d1ece2a9/attachment.html>
More information about the Python-ideas
mailing list