@@ -81,9 +81,8 @@ class MethodAsyncSingleParam(
81
81
):
82
82
"""Generic callable type."""
83
83
84
- # TODO(nexus-prerelease)*: review changes to signatures in this file
85
84
def __call__ (
86
- self , __self : ProtocolSelfType , __arg : ProtocolParamType
85
+ self , __self : ProtocolSelfType , __arg : ProtocolParamType , /
87
86
) -> Awaitable [ProtocolReturnType ]:
88
87
"""Generic callable type callback."""
89
88
...
@@ -95,7 +94,7 @@ class MethodSyncSingleParam(
95
94
"""Generic callable type."""
96
95
97
96
def __call__ (
98
- self , __self : ProtocolSelfType , __arg : ProtocolParamType
97
+ self , __self : ProtocolSelfType , __arg : ProtocolParamType , /
99
98
) -> ProtocolReturnType :
100
99
"""Generic callable type callback."""
101
100
...
@@ -117,7 +116,7 @@ class MethodSyncOrAsyncSingleParam(
117
116
"""Generic callable type."""
118
117
119
118
def __call__ (
120
- self , __self : ProtocolSelfType , __param : ProtocolParamType
119
+ self , __self : ProtocolSelfType , __param : ProtocolParamType , /
121
120
) -> Union [ProtocolReturnType , Awaitable [ProtocolReturnType ]]:
122
121
"""Generic callable type callback."""
123
122
...
0 commit comments