mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-05 01:28:47 +08:00
isinstance checks now also give you type hints in class contexts, fixes #241.
This commit is contained in:
1 parent
0a0673e87c
commit
625e88e851
2 files changed
+16
-11
No files matched your search
@@ -65,5 +65,7 @@ class Test():
|
||||
|
||||
def boo(self):
|
||||
if isinstance(self.testing, str):
|
||||
##? str()
|
||||
#? str()
|
||||
self.testing
|
||||
#? Test()
|
||||
self
|
||||
Reference in new issue
Block a user