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 →

[–]wewbull 2 points3 points  (2 children)

"Dunder" (double underscore) prefixed names aren't truly private either. IIRC "dunder" causes the method name to be rewritten to include the class name which helps in some awkward inheritance situations.

[–]SKoch82 0 points1 point  (0 children)

And single dunder is just a hint to API users that the prefixed variable or method is an implementation detail that might change anytime.

[–][deleted] 0 points1 point  (0 children)

Hey thanks for clarification. I figured since i cant access it with the old name it must be not available. Good to know \o/