@@ -82,7 +82,7 @@ class MethodAsyncSingleParam(
82
82
"""Generic callable type."""
83
83
84
84
def __call__ (
85
- __self , self : ProtocolSelfType , __arg : ProtocolParamType
85
+ self , __self : ProtocolSelfType , __arg : ProtocolParamType
86
86
) -> Awaitable [ProtocolReturnType ]:
87
87
"""Generic callable type callback."""
88
88
...
@@ -94,7 +94,7 @@ class MethodSyncSingleParam(
94
94
"""Generic callable type."""
95
95
96
96
def __call__ (
97
- __self , self : ProtocolSelfType , __arg : ProtocolParamType
97
+ self , __self : ProtocolSelfType , __arg : ProtocolParamType
98
98
) -> ProtocolReturnType :
99
99
"""Generic callable type callback."""
100
100
...
@@ -104,7 +104,7 @@ class MethodSyncOrAsyncNoParam(Protocol[ProtocolSelfType, ProtocolReturnType]):
104
104
"""Generic callable type."""
105
105
106
106
def __call__ (
107
- __self , self : ProtocolSelfType
107
+ self , __self : ProtocolSelfType
108
108
) -> Union [ProtocolReturnType , Awaitable [ProtocolReturnType ]]:
109
109
"""Generic callable type callback."""
110
110
...
@@ -116,7 +116,7 @@ class MethodSyncOrAsyncSingleParam(
116
116
"""Generic callable type."""
117
117
118
118
def __call__ (
119
- __self , self : ProtocolSelfType , __param : ProtocolParamType
119
+ self , __self : ProtocolSelfType , __param : ProtocolParamType
120
120
) -> Union [ProtocolReturnType , Awaitable [ProtocolReturnType ]]:
121
121
"""Generic callable type callback."""
122
122
...
0 commit comments