1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
class B: def parent_method( self, *, a="", b=None, c=True, ): """Overridden method example.""" def _internal_func( arg1: int = 1, arg2: str = "2", arg3: int = 3, arg4: bool = True, ): pass class InternalB: def some_method_b( self, *, a=None, b=False, c="", ): pass