mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Change "NoneType" to "None". Add missing imports.
This commit is contained in:
@@ -3,15 +3,17 @@
|
||||
# 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 bench(a, b: str, *args, **kwargs) -> float: pass
|
||||
|
||||
|
||||
class spamdict(object):
|
||||
def getstate() -> int: pass
|
||||
def setstate(a: int) -> NoneType: pass
|
||||
def setstate(a: int) -> None: pass
|
||||
|
||||
class spamlist(object):
|
||||
def classmeth(*args, **kwargs) -> tuple: pass
|
||||
def getstate() -> int: pass
|
||||
def setstate(a: int) -> NoneType: pass
|
||||
def setstate(a: int) -> None: pass
|
||||
def staticmeth(*args, **kwargs) -> tuple: pass
|
||||
|
||||
Reference in New Issue
Block a user