mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
isinstance checks now also give you type hints in class contexts, fixes #241.
This commit is contained in:
@@ -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