mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def adler32(a, *args, **kwargs) -> int: pass
|
||||
def adler32(a, *args, **kwargs) -> int: ...
|
||||
|
||||
def compress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
@@ -14,7 +14,7 @@ def compressobj(*args, **kwargs) -> object:
|
||||
raise MemoryError()
|
||||
raise ValueError()
|
||||
|
||||
def crc32(a, *args, **kwargs) -> int: pass
|
||||
def crc32(a, *args, **kwargs) -> int: ...
|
||||
|
||||
def decompress(a, *args, **kwargs) -> str:
|
||||
raise MemoryError()
|
||||
|
||||
Reference in New Issue
Block a user