Move contents of builtins/* to stdlib/*. This simplifies finding stubs.

This commit is contained in:
Guido van Rossum
2016-01-12 12:53:18 -08:00
parent 0938e8f5de
commit 8c2118bace
85 changed files with 0 additions and 0 deletions

13
stdlib/3/resource.pyi Normal file
View 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): ...