[MERGE] Document code layout stuff
Alexander Belchenko
bialix at ukr.net
Thu Sep 6 13:37:15 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool пишет:
>> What about assigning result to some value?
>>
>> foo = self.legbone.kneebone.shinbone.toebone.shake_it(
>> one, two, three)
>>
>> What correct rule for this case?
>
> 'one' should be four spaces to the right of the start of the preceding
> line, 'foo'. It's not indented relative to the assignment operator.
bb:comment
What about conditional statement?
if (asdfghjkl != qwertyuio() or
mnbvcxzasdfgh == poiuytreweqlkjhgfgdfs()):
action
Is right?
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG3/R7zYr338mxwCURAjjMAJ9Klsc9VvhVKAjDYfC0l6tSNBeG3gCfVfdA
B1AB+N+Ere6ln1hQzxS0Y9s=
=thgp
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list