mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
|
||||
from typing import List, Tuple, Dict, Undefined, GenericType
|
||||
|
||||
def dump(a, b, *args, **kwargs) -> object: pass
|
||||
def dump(a, b, *args, **kwargs) -> object: ...
|
||||
|
||||
def dumps(a, *args, **kwargs) -> object: pass
|
||||
def dumps(a, *args, **kwargs) -> object: ...
|
||||
|
||||
def load(*args, **kwargs) -> object:
|
||||
raise TypeError()
|
||||
|
||||
def loads(a) -> object: pass
|
||||
def loads(a) -> object: ...
|
||||
|
||||
Reference in New Issue
Block a user