Is there any way to detect wrong use of private class members before runtime in Python3. Invoking something like
obj.__function()
should end up in a syntax error. Mypy doesn't seem to care about them.
Any advice? Thanks on advance
Is there any way to detect wrong use of private class members before runtime in Python3. Invoking something like
obj.__function()
should end up in a syntax error. Mypy doesn't seem to care about them.
Any advice? Thanks on advance