isinstance checks now also give you type hints in class contexts, fixes #241.

This commit is contained in:
Dave Halter
2014-08-04 02:11:30 +02:00
parent 0a0673e87c
commit 625e88e851
2 changed files with 16 additions and 11 deletions

View File

@@ -65,5 +65,7 @@ class Test():
def boo(self):
if isinstance(self.testing, str):
##? str()
#? str()
self.testing
#? Test()
self