Skip to content
Snippets Groups Projects
Commit b1533c43 authored by Damien George's avatar Damien George
Browse files

py/parse: Treat constants that start with underscore as private.

Assignments of the form "_id = const(value)" are treated as private
(following a similar CPython convention) and code is no longer emitted
for the assignment to a global variable.

See issue #2111.
parent 2bf6eb9f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment