Home
last modified time | relevance | path

Searched refs:valself (Results 1 – 8 of 8) sorted by relevance

/dports/devel/pytype/pytype-2021.9.9/pytype/
H A Dattribute.py221 if (not valself or not abstract_utils.equivalent_to(valself, cls) or
268 node, obj, name, valself, skip=())
286 if typ.formal and valself:
290 valself.data,
357 self, node, cls, name, valself, skip): argument
368 valself.data == cls):
374 if valself and valself.data != cls:
397 if (valself and not isinstance(valself.data, abstract.Module) and
413 add_origins = [valself] if valself else []
428 if valself:
[all …]
H A Dattribute_test.py46 valself = instance.to_binding(self.node)
48 self.node, instance, "real", valself)
53 self.assertIn(valself, _get_origins(attr_binding))
68 valself = abstract.Instance(cls, self.vm).to_binding(self.node)
70 self.node, cls, "x", valself)
79 valself = cls.to_binding(self.node)
81 self.node, cls, "x", valself)
96 valself = abstract.Instance(cls, self.vm).to_binding(self.node)
98 self.node, cls, "__getitem__", valself)
105 valself = cls.to_binding(self.node)
[all …]
H A Dmixin.py139 def get_special_attribute(self, node, name, valself): argument
142 additional_sources = {valself} if valself else None
145 return HasSlots.super(self.get_special_attribute)(node, name, valself)
H A Dspecial_builtins.py84 node, b.data, method_name, valself=b)
321 node, val, "__call__", valself=obj)
360 node, b.data, "__get__", valself=b)
367 def get_special_attribute(self, node, name, valself): argument
377 return super().get_special_attribute(node, name, valself)
488 def get_special_attribute(self, node, name, valself): argument
493 if valself and not abstract_utils.equivalent_to(valself, self):
494 val = valself.data
502 return super().get_special_attribute(node, name, valself)
H A Dclass_mixin.py392 def get_special_attribute(self, node, name, valself): argument
394 if name == "__getitem__" and valself is None:
407 return container.get_special_attribute(node, name, valself)
408 return Class.super(self.get_special_attribute)(node, name, valself)
H A Dabstract.py505 def get_special_attribute(self, node, name, valself): argument
506 del name, valself
560 def get_special_attribute(self, node, name, valself): argument
561 del name, valself # unused
1317 def get_special_attribute(self, node, name, valself): argument
2586 def get_special_attribute(self, node, name, valself): argument
2587 if (valself and not abstract_utils.equivalent_to(valself, self) and
2653 def get_special_attribute(self, node, name, valself): argument
2654 if (valself and not abstract_utils.equivalent_to(valself, self) and
4150 def get_special_attribute(self, node, name, valself): argument
[all …]
H A Dvm.py1047 valself = None
1049 valself = left_val
1051 node, left_val.data, attr_name, valself)
/dports/devel/pytype/pytype-2021.9.9/pytype/overlays/
H A Dsys_overlay.py22 def get_special_attribute(self, node, name, valself): argument