1
0
forked from VimPlug/jedi

Exceptions now also work over the subprocess.

This commit is contained in:
Dave Halter
2017-11-17 01:54:05 +01:00
parent 4a7d715a57
commit 87452639ad
3 changed files with 13 additions and 2 deletions
+3
View File
@@ -51,6 +51,9 @@ class CheckAttribute(object):
self.check_name = func.__name__[2:]
def __get__(self, instance, owner):
if instance is None:
return self
# This might raise an AttributeError. That's wanted.
if self.check_name == '__iter__':
# Python iterators are a bit strange, because there's no need for