mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-18 06:21:25 +08:00
Python 2
This commit is contained in:
1 parent
e5d1091e80
commit
3d784c748e
1 file changed
+1
-1
@@ -268,7 +268,7 @@ class CompiledObject(Value):
|
|||||||
if self.access_handle.get_repr() == 'None':
|
if self.access_handle.get_repr() == 'None':
|
||||||
# None as an annotation doesn't need to be executed.
|
# None as an annotation doesn't need to be executed.
|
||||||
return ValueSet([self])
|
return ValueSet([self])
|
||||||
return super().execute_annotation()
|
return super(CompiledObject, self).execute_annotation()
|
||||||
|
|
||||||
def negate(self):
|
def negate(self):
|
||||||
return create_from_access_path(self.inference_state, self.access_handle.negate())
|
return create_from_access_path(self.inference_state, self.access_handle.negate())
|
||||||
|
|||||||
Reference in new issue
Block a user