mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-13 23:41:55 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
class zipimporter(object):
|
||||
def find_module(a: str, *args, **kwargs) -> None: pass
|
||||
def get_code(a: str) -> object: pass
|
||||
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: pass
|
||||
def get_source(a: str) -> object: pass
|
||||
def is_package(a: str) -> bool: pass
|
||||
def load_module(a: str) -> object: pass
|
||||
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