GZ於 2012年1月7日星期六UTC+8上午5時46分16秒寫道:
> Hi,
>
> I am reading the documentation of functools.partial (http://
> docs.python.org/library/functools.html#functools.partial) and found
> the following 'reference implementation' of functools.partial.
>
> def partial(func, *args, **keywords):
> def newf
On Fri, Jan 6, 2012 at 5:04 PM, Ian Kelly wrote:
> On Fri, Jan 6, 2012 at 2:46 PM, GZ wrote:
>> Hi,
>>
>> I am reading the documentation of functools.partial (http://
>> docs.python.org/library/functools.html#functools.partial) and found
>> the following 'reference implementation' of functools.pa
On Fri, Jan 6, 2012 at 2:46 PM, GZ wrote:
> Hi,
>
> I am reading the documentation of functools.partial (http://
> docs.python.org/library/functools.html#functools.partial) and found
> the following 'reference implementation' of functools.partial.
>
> def partial(func, *args, **keywords):
> def
Hi,
I am reading the documentation of functools.partial (http://
docs.python.org/library/functools.html#functools.partial) and found
the following 'reference implementation' of functools.partial.
def partial(func, *args, **keywords):
def newfunc(*fargs, **fkeywords):
newkeywords = key