Message154843
>>
>> - install.install_dists = lambda x, y=None: None
>> + install.install_dists = lambda x, y = None: None
>> PEP 8: Never put spaces in a function (or lambda) signature.
>
> I cannot find that exactly in pep8.
From the section "Whitespace in Expressions and Statements":
- Don't use spaces around the '=' sign when used to indicate a
keyword argument or a default parameter value.
Yes:
def complex(real, imag=0.0):
return magic(r=real, i=imag)
No:
def complex(real, imag = 0.0):
return magic(r = real, i = imag) |
|
Date |
User |
Action |
Args |
2012-03-03 17:56:35 | nadeem.vawda | set | recipients:
+ nadeem.vawda, tarek, eric.araujo, alexis, francismb |
2012-03-03 17:56:35 | nadeem.vawda | set | messageid: <1330797395.58.0.120170613609.issue14183@psf.upfronthosting.co.za> |
2012-03-03 17:56:35 | nadeem.vawda | link | issue14183 messages |
2012-03-03 17:56:34 | nadeem.vawda | create | |
|