[Python-Dev] Am I allowed to use C++-style // comments? (original) (raw)
Benjamin Peterson benjamin at python.org
Wed Jul 26 01:00:51 EDT 2017
- Previous message (by thread): [Python-Dev] Am I allowed to use C++-style // comments?
- Next message (by thread): [Python-Dev] Am I allowed to use C++-style // comments?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jul 25, 2017, at 21:59, Devin Jeanpierre wrote:
https://www.python.org/dev/peps/pep-0007/ says two things:
> Python versions greater than or equal to 3.6 use C89 with several select C99 features: > [...] > C++-style line comments
This section overrides further edicts in the document for Python 3.6+.
and also: > Never use C++ style // one-line comments. Which is it?
- Previous message (by thread): [Python-Dev] Am I allowed to use C++-style // comments?
- Next message (by thread): [Python-Dev] Am I allowed to use C++-style // comments?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]