On Jul 17, 2019, at 10:45, Anders Hovmöller <bo...@killingar.net> wrote: > >>> On 17 Jul 2019, at 19:08, Andrew Barnert <abarn...@yahoo.com> wrote: >>> >>> On Jul 15, 2019, at 05:25, Anders Hovmöller <bo...@killingar.net> wrote: >>>>> >>>>> What is positional?
>> I didn’t come up with the plot example, so I don’t know the reason it took >> two functions. But let’s say they represent functions for the y and z values >> respectively for each x … >> >> So, how does plot know which argument is y and which is a? It can’t be by >> the names, because the names are stringified lambda expressions. > > The stringification produces two different strings. One has one * while the > other has two. Right, of course it can tell they’re different strings, but how can it tell which string is the name of the y function and which is the name of the z function? There’s nothing about having one * vs. two that tells you which one is y and which is z. And of course there’s nothing about the values, either. If there’s no way to tell based on the names, and no way to tell based on the values, what way can there be to tell, except for the position of the name-value pairs? _______________________________________________ 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/LG7I6KQLMGW6DH2I7HHWFTYMBKEDMPXU/ Code of Conduct: http://python.org/psf/codeofconduct/