Call two or more functions with one args.
one last Day
إلى python-dev-owner
قبل 7 أيام
التفاصيل
#While reading about functions in mathematics, a figure representing the
sum of two functions caught my attention.
#I found it would be useful to add it in the next version of Python. Of
course, what is
On Sat, Nov 6, 2021 at 1:06 AM one last Day wrote:
>
>
> Call two or more functions with one args.
> one last Day
> إلى python-dev-owner
> قبل 7 أيام
> التفاصيل
>
> #While reading about functions in mathematics, a figure representing the sum
> of two functions caught my attention.
> #I found it w
Rob Cliffe via Python-ideas writes:
> So PEP 671 merely attempts to restore functionality that was
> (regrettably IMO) left out as a result of that early decision.
This is a *new* feature, which adds syntax. A lot of contributors to
this thread think it's useful enough to overcome the normal
On Sat, Nov 6, 2021 at 2:57 AM Stephen J. Turnbull
wrote:
> Still on the agenda as far as I can see:
>
> 1. Syntax. The proposals I can recall are
> a. x=>default
> b. *x=default
> c. x=@default
> d. maybe putting * or @ on the opposite component in b and c?
> e. a keyw
On Fri, Nov 05, 2021 at 03:53:56AM -0700, one last Day wrote:
> Call two or more functions with one args.
[...]
This is like a version of map() except that instead of calling one
function with a bunch of arguments, it calls many arguments with one set
of arguments. It seems to be related to the
My "vote" if one has to be chosen:
#1: x=defer default
#2: @x=default
#3: x=@default
#4: x=>default
#5:. *x=default
Explicit is better than implicit.
___
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to python-id
On Sat, Nov 6, 2021 at 10:46 AM David Mertz, Ph.D.
wrote:
>
> My "vote" if one has to be chosen:
Preferences are very important. This isn't a "vote" in the sense that
the one with the most choices will be selected, but I always want to
hear people's preferences.
> #1: x=defer default
> #2: @x=