mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-04 18:43:23 +08:00
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
This commit is contained in:
13
stdlib/3/resource.pyi
Normal file
13
stdlib/3/resource.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
# Stubs for resource
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
RLIMIT_CORE = 0
|
||||
|
||||
def getrlimit(resource: int) -> Tuple[int, int]: ...
|
||||
def setrlimit(resource: int, limits: Tuple[int, int]) -> None: ...
|
||||
|
||||
# NOTE: This is an alias of OSError in Python 3.3.
|
||||
class error(Exception): ...
|
||||
Reference in New Issue
Block a user