Lines Matching defs:__init__

27     def __init__(self, *args, **kwargs):
28 unittest.TestCase.__init__(self, *args, **kwargs)
419 def __init__(self_local, *a, **kw):
478 def __init__(self):
615 # Make sure type(x) doesn't call x.__class__.__init__
618 def __init__(self, *args):
822 def __init__(self, name):
823 MT.__init__(self, name)
862 def __init__(self):
873 def __init__(self):
874 type({}).__init__(self)
875 C.__init__(self)
1142 def __init__(self, value):
1233 def __init__(self):
1291 def __init__(self):
1368 def __init__(self):
1372 def __init__(self):
1373 super().__init__()
1608 cm.__init__(None)
1691 sm.__init__(None)
1734 def __init__(self, get, set=None, delete=None):
1744 def __init__(self):
1771 def __init__(self):
1800 object.__init__(A())
1801 self.assertRaises(TypeError, object.__init__, A(), 5)
1804 def __init__(self, foo):
1808 object.__init__(A(3))
1809 self.assertRaises(TypeError, object.__init__, A(3), 5)
1816 object.__init__(A(3))
1817 object.__init__(A(3), 5)
1822 def __init__(self, foo):
1826 object.__init__(A(3))
1827 self.assertRaises(TypeError, object.__init__, A(3), 5)
1837 def __init__(self, foo):
1990 def __init__(self, x):
2100 def __init__(self, impl):
2187 def __init__(self, x):
2475 def __init__(self, first, last):
2573 def __init__(self, obj):
2601 def __init__(self):
2624 def __init__(self, *args):
2625 return super(mysuper, self).__init__(*args)
2774 def __init__(self, value=0.0, prec=12):
3071 def __init__(self, value):
3101 def __init__(self, value):
3179 def __init__(self, value):
3604 # Testing keyword arguments to __init__, __call__...
3608 bytearray.__init__(ba, 'abc\xbd\u20ac',
3738 def __init__(self, arg):
3799 def __init__(self, foo=None):
3896 def __init__(self, x):
4327 def __init__(self, obj):
4366 def __init__(self, obj):
4443 def __init__(self, referrent):
4510 def __init__(self):
4517 self.fail("did not test __init__() for None return")
4655 def __init__(self, name):
4874 def __init__(self):
4875 dict.__init__(self)
4896 def __init__(self, foo, kw=0, *args, **kwargs):
4897 return object.__init__(self, *args, **kwargs)
5257 def __init__(self):
5329 def __init__(self, proto, dumps, loads):
5422 def __init__(self, a, b):
5423 super().__init__()
5439 def __init__(self, *args):
5440 super().__init__()
5441 # This helps testing that __init__ is not called during the
5455 def __init__(self, a, b):
5458 # This helps testing that __init__ is not called during the