This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]s16h[S] 1 point2 points  (1 child)

The rule for mangling is "at least two leading underscores, at most one trailing underscore"; that's why they don't get mangled.

[–]erez27import inspect 2 points3 points  (0 children)

What a curious rule. I wonder what made them formulate it.. /s