[docs] [issue12188] PEP 7, C style: add ++ policy and explanation

Antoine Pitrou report at bugs.python.org
Tue Jun 7 14:02:53 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> If there are a few of these idioms, I'm not against adding a new
> section  to PEP 7 (something like the "Programming Recommendations"
> section in the PEP 8).  It's just not worth doing it for the "*p++ =
> x;" idiom alone IMHO.

If these are recommandations, perhaps we should put them in the devguide
instead?

But I agree that it's not worth doing it only for "*p++" anyway.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12188>
_______________________________________


More information about the docs mailing list