mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Change "NoneType" to "None". Add missing imports.
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
# for a more percise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def reduce(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
|
||||
|
||||
class partial(object):
|
||||
def __reduce__() -> tuple: pass
|
||||
def __setstate__(a, b, c, d) -> NoneType: pass
|
||||
def __setstate__(a, b, c, d) -> None: pass
|
||||
|
||||
Reference in New Issue
Block a user