Use '...' instead of 'pass' for function bodies

This commit is contained in:
Matthias Kramm
2015-05-20 10:14:02 -07:00
parent c30fb8a6df
commit c12e977403
36 changed files with 599 additions and 599 deletions

View File

@@ -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()