homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:35nadeem.vawdasetrecipients: + nadeem.vawda, tarek, eric.araujo, alexis, francismb
2012年03月03日 17:56:35nadeem.vawdasetmessageid: <1330797395.58.0.120170613609.issue14183@psf.upfronthosting.co.za>
2012年03月03日 17:56:35nadeem.vawdalinkissue14183 messages
2012年03月03日 17:56:34nadeem.vawdacreate

AltStyle によって変換されたページ (->オリジナル) /