1class A:
2    """A class having no __init__, no __new__"""
3
4
5class B:
6    """A class having __init__(no docstring), no __new__"""
7    def __init__(self):
8        pass
9
10
11class C:
12    """A class having __init__, no __new__"""
13    def __init__(self):
14        """__init__ docstring"""
15
16
17class D:
18    """A class having no __init__, __new__(no docstring)"""
19    def __new__(cls):
20        pass
21
22
23class E:
24    """A class having no __init__, __new__"""
25    def __new__(cls):
26        """__new__ docstring"""
27
28
29class F:
30    """A class having both __init__ and __new__"""
31    def __init__(self):
32        """__init__ docstring"""
33
34    def __new__(cls):
35        """__new__ docstring"""
36
37
38class G(C):
39    """A class inherits __init__ without docstring."""
40    def __init__(self):
41        pass
42
43
44class H(E):
45    """A class inherits __new__ without docstring."""
46    def __init__(self):
47        pass
48