mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-13 07:21:55 +08:00
Change "NoneType" to "None". Add missing imports.
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
# 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
|
||||
|
||||
class zipimporter(object):
|
||||
def find_module(a: str, *args, **kwargs) -> NoneType: pass
|
||||
def find_module(a: str, *args, **kwargs) -> None: pass
|
||||
def get_code(a: str) -> object: pass
|
||||
def get_data(a: str) -> str:
|
||||
raise IOError()
|
||||
|
||||
Reference in New Issue
Block a user