[Python-Dev] PEP 7 contradiction for comment style

Brett Cannon brett at snarky.ca
Mon Jan 9 15:50:00 EST 2017


https://bugs.python.org/issue29215 noticed that PEP 7 says "C++-style line
comments" are allowed, but then later says "Never use C++ style // one-line
comments." I'm assuming we are sticking with allowing C++-style comments
and the "never" link just needs an addendum to say that only applies to
code prior to Python 3.5, but I wanted to double-check before editing the
PEP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170109/cc0bea6a/attachment.html>


More information about the Python-Dev mailing list