Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • It does not actually matter here that the function is "private" (this is not real privacy anyway). The problem should have been obvious, anyway: where the code says def baz(self, arg):, why does it not say def baz(arg):? Now, why wouldn't the same logic apply to __bar? Commented Sep 5, 2022 at 10:16
  • @KarlKnechtel stating anything as obvious to someone else is admitting one does not have adequate experience working on a team. This is one of the primary underlying reasons for peer review. See also "agile restrospective prime directive". Commented Oct 13, 2023 at 12:47