Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Oct 13, 2023
1 parent 40ee558 commit f0b4a60
Showing 1 changed file with 69 additions and 69 deletions.
138 changes: 69 additions & 69 deletions __coconut__/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -271,30 +271,30 @@ def call(
_y: _U,
_z: _V,
) -> _W: ...
@_t.overload
def call(
_func: _t.Callable[_t.Concatenate[_T, _P], _U],
_x: _T,
*args: _t.Any,
**kwargs: _t.Any,
) -> _U: ...
@_t.overload
def call(
_func: _t.Callable[_t.Concatenate[_T, _U, _P], _V],
_x: _T,
_y: _U,
*args: _t.Any,
**kwargs: _t.Any,
) -> _V: ...
@_t.overload
def call(
_func: _t.Callable[_t.Concatenate[_T, _U, _V, _P], _W],
_x: _T,
_y: _U,
_z: _V,
*args: _t.Any,
**kwargs: _t.Any,
) -> _W: ...
# @_t.overload
# def call(
# _func: _t.Callable[_t.Concatenate[_T, _P], _U],
# _x: _T,
# *args: _t.Any,
# **kwargs: _t.Any,
# ) -> _U: ...
# @_t.overload
# def call(
# _func: _t.Callable[_t.Concatenate[_T, _U, _P], _V],
# _x: _T,
# _y: _U,
# *args: _t.Any,
# **kwargs: _t.Any,
# ) -> _V: ...
# @_t.overload
# def call(
# _func: _t.Callable[_t.Concatenate[_T, _U, _V, _P], _W],
# _x: _T,
# _y: _U,
# _z: _V,
# *args: _t.Any,
# **kwargs: _t.Any,
# ) -> _W: ...
@_t.overload
def call(
_func: _t.Callable[..., _T],
Expand Down Expand Up @@ -439,30 +439,30 @@ def safe_call(
_y: _U,
_z: _V,
) -> Expected[_W]: ...
@_t.overload
def safe_call(
_func: _t.Callable[_t.Concatenate[_T, _P], _U],
_x: _T,
*args: _t.Any,
**kwargs: _t.Any,
) -> Expected[_U]: ...
@_t.overload
def safe_call(
_func: _t.Callable[_t.Concatenate[_T, _U, _P], _V],
_x: _T,
_y: _U,
*args: _t.Any,
**kwargs: _t.Any,
) -> Expected[_V]: ...
@_t.overload
def safe_call(
_func: _t.Callable[_t.Concatenate[_T, _U, _V, _P], _W],
_x: _T,
_y: _U,
_z: _V,
*args: _t.Any,
**kwargs: _t.Any,
) -> Expected[_W]: ...
# @_t.overload
# def safe_call(
# _func: _t.Callable[_t.Concatenate[_T, _P], _U],
# _x: _T,
# *args: _t.Any,
# **kwargs: _t.Any,
# ) -> Expected[_U]: ...
# @_t.overload
# def safe_call(
# _func: _t.Callable[_t.Concatenate[_T, _U, _P], _V],
# _x: _T,
# _y: _U,
# *args: _t.Any,
# **kwargs: _t.Any,
# ) -> Expected[_V]: ...
# @_t.overload
# def safe_call(
# _func: _t.Callable[_t.Concatenate[_T, _U, _V, _P], _W],
# _x: _T,
# _y: _U,
# _z: _V,
# *args: _t.Any,
# **kwargs: _t.Any,
# ) -> Expected[_W]: ...
@_t.overload
def safe_call(
_func: _t.Callable[..., _T],
Expand Down Expand Up @@ -501,27 +501,27 @@ def _coconut_call_or_coefficient(
_y: _U,
_z: _V,
) -> _W: ...
@_t.overload
def _coconut_call_or_coefficient(
_func: _t.Callable[_t.Concatenate[_T, _P], _U],
_x: _T,
*args: _t.Any,
) -> _U: ...
@_t.overload
def _coconut_call_or_coefficient(
_func: _t.Callable[_t.Concatenate[_T, _U, _P], _V],
_x: _T,
_y: _U,
*args: _t.Any,
) -> _V: ...
@_t.overload
def _coconut_call_or_coefficient(
_func: _t.Callable[_t.Concatenate[_T, _U, _V, _P], _W],
_x: _T,
_y: _U,
_z: _V,
*args: _t.Any,
) -> _W: ...
# @_t.overload
# def _coconut_call_or_coefficient(
# _func: _t.Callable[_t.Concatenate[_T, _P], _U],
# _x: _T,
# *args: _t.Any,
# ) -> _U: ...
# @_t.overload
# def _coconut_call_or_coefficient(
# _func: _t.Callable[_t.Concatenate[_T, _U, _P], _V],
# _x: _T,
# _y: _U,
# *args: _t.Any,
# ) -> _V: ...
# @_t.overload
# def _coconut_call_or_coefficient(
# _func: _t.Callable[_t.Concatenate[_T, _U, _V, _P], _W],
# _x: _T,
# _y: _U,
# _z: _V,
# *args: _t.Any,
# ) -> _W: ...
@_t.overload
def _coconut_call_or_coefficient(
_func: _t.Callable[..., _T],
Expand Down

0 comments on commit f0b4a60

Please sign in to comment.