invalid-character-nul / E2514#

Message emitted:

Invalid unescaped character nul, use "\0" instead.

Description:

Mostly end of input for python.

Correct code:

STRING = "Valid nul terminator: \x00"

Additional details:

There's no need to use end-of-string characters. String objects maintain their own length.

Related links:

Created by the unicode_checker checker.