File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import types
22from _typeshed import FileDescriptorLike , FileDescriptorOrPath , HasFileno , StrOrBytesPath
3- from inspect import _ParameterKind
3+ from inspect import _IntrospectableCallable , _ParameterKind
44from socket import socket
55from typing import Any , Literal , NoReturn
66from urllib .parse import SplitResult
77
88from ._types import _AddressType , _WSGIAppType
9- from .config import _HookType
109
1110REDIRECT_TO : str
1211hop_headers : set [str ]
@@ -18,7 +17,7 @@ def load_class(
1817
1918positionals : tuple [Literal [_ParameterKind .POSITIONAL_ONLY ], Literal [_ParameterKind .POSITIONAL_OR_KEYWORD ]]
2019
21- def get_arity (f : _HookType ) -> int : ...
20+ def get_arity (f : _IntrospectableCallable ) -> int : ...
2221def get_username (uid : int ) -> str : ...
2322def set_owner_process (uid : int , gid : int , initgroups : bool = False ) -> None : ...
2423def chown (path : FileDescriptorOrPath , uid : int , gid : int ) -> None : ...
You can’t perform that action at this time.
0 commit comments