[Python-Dev] Partial function application 'from the right'
Scott David Daniels
Scott.Daniels at Acm.Org
Thu Jan 29 21:00:15 CET 2009
Antoine Pitrou wrote:
> ...
> In py3k, we could also use "..." (the Ellipsis object) to denote
> places where an argument is missing, so that:
> split_comma = partial(str.split, ..., ',')
> would do what you want.
Thus preventing any use of partial when an argument could be an
the Ellipsis instance.
--Scott David Daniels
Scott.Daniels at Acm.Org
More information about the Python-Dev
mailing list