mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Use '...' instead of 'pass' for function bodies
This commit is contained in:
@@ -10,5 +10,5 @@ def reduce(*args, **kwargs) -> object:
|
||||
|
||||
|
||||
class partial(object):
|
||||
def __reduce__() -> tuple: pass
|
||||
def __setstate__(a, b, c, d) -> None: pass
|
||||
def __reduce__() -> tuple: ...
|
||||
def __setstate__(a, b, c, d) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user