Change "NoneType" to "None". Add missing imports.

This commit is contained in:
Matthias Kramm
2015-03-25 09:03:14 -07:00
parent c2c162a723
commit fd1e46590f
38 changed files with 207 additions and 131 deletions

View File

@@ -3,6 +3,8 @@
# 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 asctime(*args, **kwargs) -> str:
raise ValueError()
@@ -18,15 +20,15 @@ def localtime(*args, **kwargs) -> tuple: pass
def mktime(*args, **kwargs) -> float:
raise OverflowError()
def sleep(a: float) -> NoneType: pass
def sleep(a: float) -> None: pass
def strftime(a: str, *args, **kwargs) -> str:
raise ValueError()
raise MemoryError()
raise ValueError()
def strptime(*args, **kwargs) -> object: pass
def time() -> float:
raise IOError()
def tzset() -> NoneType: pass
def tzset() -> None: pass