mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
Rename .py to .pyi.
This commit is contained in:
16
2.7/zipimport.pyi
Normal file
16
2.7/zipimport.pyi
Normal file
@@ -0,0 +1,16 @@
|
||||
"""Stub file for the 'zipimport' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise 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) -> None: ...
|
||||
def get_code(a: str) -> object: ...
|
||||
def get_data(a: str) -> str:
|
||||
raise IOError()
|
||||
def get_filename(a: str) -> str: ...
|
||||
def get_source(a: str) -> object: ...
|
||||
def is_package(a: str) -> bool: ...
|
||||
def load_module(a: str) -> object: ...
|
||||
Reference in New Issue
Block a user