Lines Matching refs:self
80 1. __init__(self: m.factory_constructors.TestFactory1, arg0: m.factory_constructors.tag.unique_ptr_tag, arg1: int) -> None
82 2. __init__(self: m.factory_constructors.TestFactory1, arg0: str) -> None
84 3. __init__(self: m.factory_constructors.TestFactory1, arg0: m.factory_constructors.tag.pointer_tag) -> None
86 4. __init__(self: m.factory_constructors.TestFactory1, arg0: handle, arg1: int, arg2: handle) -> None
172 def __init__(self, *args):
173 m.TestFactory6.__init__(self, *args)
175 def get(self):
176 return -5 + m.TestFactory6.get(self)
214 def get(self):
215 return 100 + TestFactory7.get(self)
313 def __init__(self):
314 m.TestFactory1.__init__(self, tag.unique_ptr, 33)
315 m.TestFactory2.__init__(self, tag.move)
422 """Tests invocation of the pybind-registered base class with an invalid `self` argument. You
427 # Attempts to initialize with an invalid type passed as `self`:
429 def __init__(self, bad):
439 def __init__(self, bad):
454 assert str(excinfo.value) == "__init__(self, ...) called with invalid `self` argument"
459 assert str(excinfo.value) == "__init__(self, ...) called with invalid `self` argument"