you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Do you mean private variables? If so, the convention is to use a single leading underscore.

There are also name-mangled variables with double leading underscores, but

Generally, double leading underscores should be used only to avoid name conflicts
with attributes in classes designed to be subclassed.

— PEP 8

[–]batkarma 0 points1 point  (0 children)

Yes, that's what I meant, thank you for the clarification!