[docs] [issue24531] please document that no code preceding encoding declaration is allowed

R. David Murray report at bugs.python.org
Mon Jun 29 18:25:12 CEST 2015


R. David Murray added the comment:

What docs are you looking at? https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations? I suspect the author thought that "If a comment in the first or second line..." implied both lines needed to be comments, but I agree that the wording is not clear.

----------
nosy: +r.david.murray
stage:  -> needs patch
type:  -> behavior
versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6

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


More information about the docs mailing list