mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
add some Python 2 modules
This commit is contained in:
11
python2/_functools.py
Normal file
11
python2/_functools.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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 reduce(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
|
||||
|
||||
class partial(object):
|
||||
def __reduce__() -> tuple: pass
|
||||
def __setstate__(a, b, c, d) -> NoneType: pass
|
||||
Reference in New Issue
Block a user