Closed
Description
Given code such as:
E = {
"null-character":
_("Null character in input stream, replaced with U+FFFD."),
"invalid-codepoint":
_("Invalid codepoint in stream."),
"incorrectly-placed-solidus":
_("Solidus (/) incorrectly placed in tag."),
"incorrect-cr-newline-entity":
_("Incorrect CR newline entity, replaced with LF."),
"illegal-windows-1252-entity":
_("Entity used with illegal number (windows-1252 reference).")
}
I believe this is fine under PEP 8. It is using a hanging indent within the dict literal, which pep8 is fine with, and then treating (for each key_datum) the value as being a continuation of the key's definition (which pep8 is not fine with).
Metadata
Metadata
Assignees
Labels
No labels