Message154843
| Author |
nadeem.vawda |
| Recipients |
alexis, eric.araujo, francismb, nadeem.vawda, tarek |
| Date |
2012年03月03日.17:56:34 |
| SpamBayes Score |
1.4235383e-05 |
| Marked as misclassified |
No |
| Message-id |
<1330797395.58.0.120170613609.issue14183@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
>>
>> - 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) |
|
History
|
|---|
| 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 |
|