private variables are not accessible anymore, but still completeable - fixes and tests for #56
This commit is contained in:
1 parent
7d38fc6513
commit
936f7f9fd5
4 files changed
+38
-9
No files matched your search
@@ -510,3 +510,16 @@ Wrapper(Base()).ret(3)
|
||||
|
||||
#? int()
|
||||
Wrapper2(Base()).ret(3)
|
||||
|
||||
# -----------------
|
||||
# private vars
|
||||
# -----------------
|
||||
class PrivateVar():
|
||||
def __init__(self):
|
||||
self.__var = 1
|
||||
#? int()
|
||||
self.__var
|
||||
#? []
|
||||
PrivateVar().__var
|
||||
#?
|
||||
PrivateVar().__var
|
||||
Reference in new issue
Block a user