Skip to content

Commit 0c2e9cf

Browse files
Gerhard Hagerergvanrossum
authored andcommitted
Added variable types for resources.pyi (#632)
Just some output from stubgen.pyi
1 parent 3ea39a7 commit 0c2e9cf

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

stdlib/3/resource.pyi

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,26 @@
44

55
from typing import Tuple
66

7-
RLIMIT_CORE = 0
7+
RLIMIT_AS = ... # type: int
8+
RLIMIT_CORE = ... # type: int
9+
RLIMIT_CPU = ... # type: int
10+
RLIMIT_DATA = ... # type: int
11+
RLIMIT_FSIZE = ... # type: int
12+
RLIMIT_MEMLOCK = ... # type: int
13+
RLIMIT_MSGQUEUE = ... # type: int
14+
RLIMIT_NICE = ... # type: int
15+
RLIMIT_NOFILE = ... # type: int
16+
RLIMIT_NPROC = ... # type: int
17+
RLIMIT_OFILE = ... # type: int
18+
RLIMIT_RSS = ... # type: int
19+
RLIMIT_RTPRIO = ... # type: int
20+
RLIMIT_RTTIME = ... # type: int
21+
RLIMIT_SIGPENDING = ... # type: int
22+
RLIMIT_STACK = ... # type: int
23+
RLIM_INFINITY = ... # type: int
24+
RUSAGE_CHILDREN = ... # type: int
25+
RUSAGE_SELF = ... # type: int
26+
RUSAGE_THREAD = ... # type: int
827

928
def getrlimit(resource: int) -> Tuple[int, int]: ...
1029
def setrlimit(resource: int, limits: Tuple[int, int]) -> None: ...

0 commit comments

Comments
 (0)