A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-January/085769.html below:

Partial function application 'from the right'

[Python-Dev] Fwd: Partial function application 'from the right'Ludvig Ericson ludvig at lericson.se
Sat Jan 31 16:50:55 CET 2009
Begin forwarded message:
> From: Ludvig Ericson <ludvig at lericson.se>
> Date: January 31, 2009 16:43:50 GMT+01:00
> To: Alexander Belopolsky <alexander.belopolsky at gmail.com>
> Subject: Re: [Python-Dev] Partial function application 'from the  
> right'
>
> On Jan 31, 2009, at 04:02, Alexander Belopolsky wrote:
>
>> On Fri, Jan 30, 2009 at 7:42 PM, Antoine Pitrou  
>> <solipsis at pitrou.net> wrote:
>> ..
>>> If one writes X = partial.skip, it looks quite nice:
>>>
>>> split_one = partial(str.split, X, 1)
>>
>> Or even
>>
>> _ = partial.skip
>> split_one = partial(str.split, _, 1)
>
> Or even
>
> … = partial.skip
> split_one = partial(str.split, …, 1)


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4