mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Added variable types for resources.pyi (#632)
Just some output from stubgen.pyi
This commit is contained in:
committed by
Guido van Rossum
parent
3ea39a7c1b
commit
0c2e9cf3be
@@ -4,7 +4,26 @@
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
RLIMIT_CORE = 0
|
||||
RLIMIT_AS = ... # type: int
|
||||
RLIMIT_CORE = ... # type: int
|
||||
RLIMIT_CPU = ... # type: int
|
||||
RLIMIT_DATA = ... # type: int
|
||||
RLIMIT_FSIZE = ... # type: int
|
||||
RLIMIT_MEMLOCK = ... # type: int
|
||||
RLIMIT_MSGQUEUE = ... # type: int
|
||||
RLIMIT_NICE = ... # type: int
|
||||
RLIMIT_NOFILE = ... # type: int
|
||||
RLIMIT_NPROC = ... # type: int
|
||||
RLIMIT_OFILE = ... # type: int
|
||||
RLIMIT_RSS = ... # type: int
|
||||
RLIMIT_RTPRIO = ... # type: int
|
||||
RLIMIT_RTTIME = ... # type: int
|
||||
RLIMIT_SIGPENDING = ... # type: int
|
||||
RLIMIT_STACK = ... # type: int
|
||||
RLIM_INFINITY = ... # type: int
|
||||
RUSAGE_CHILDREN = ... # type: int
|
||||
RUSAGE_SELF = ... # type: int
|
||||
RUSAGE_THREAD = ... # type: int
|
||||
|
||||
def getrlimit(resource: int) -> Tuple[int, int]: ...
|
||||
def setrlimit(resource: int, limits: Tuple[int, int]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user