add some Python 2 modules

This commit is contained in:
Matthias Kramm
2015-03-12 14:21:08 -07:00
parent 83cdec9a4c
commit 231d854ef3
16 changed files with 863 additions and 0 deletions

24
python2/_heapq.py Normal file
View File

@@ -0,0 +1,24 @@
# This is an autogenerated file. It serves as a starting point
# for a more percise manual annotation of this module.
# Feel free to edit the source below, but remove this header when you do.
def heappushpop(*args, **kwargs) -> object:
raise TypeError()
def heappop(*args, **kwargs) -> object:
raise IndexError()
raise TypeError()
def nlargest(a: int, b) -> List[object]: pass
def heapreplace(*args, **kwargs) -> object:
raise IndexError()
raise TypeError()
def heapify(*args, **kwargs) -> NoneType:
raise TypeError()
def heappush(*args, **kwargs) -> NoneType:
raise TypeError()
def nsmallest(a: int, b) -> List[object]: pass