mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Add support for completion even when __getattr__ is present, fixes #997
This commit is contained in:
@@ -399,6 +399,12 @@ class Wrapper2():
|
||||
|
||||
#? int()
|
||||
Wrapper(Base()).ret(3)
|
||||
#? ['ret']
|
||||
Wrapper(Base()).ret
|
||||
#? int()
|
||||
Wrapper(Wrapper(Base())).ret(3)
|
||||
#? ['ret']
|
||||
Wrapper(Wrapper(Base())).ret
|
||||
|
||||
#? int()
|
||||
Wrapper2(Base()).ret(3)
|
||||
@@ -409,6 +415,8 @@ class GetattrArray():
|
||||
|
||||
#? int()
|
||||
GetattrArray().something[0]
|
||||
#? []
|
||||
GetattrArray().something
|
||||
|
||||
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user