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:
@@ -22,6 +22,6 @@ def heapreplace(*args, **kwargs) -> object:
|
||||
raise IndexError()
|
||||
raise TypeError()
|
||||
|
||||
def nlargest(a: int, b) -> List[object]: pass
|
||||
def nlargest(a: int, b) -> List[object]: ...
|
||||
|
||||
def nsmallest(a: int, b) -> List[object]: pass
|
||||
def nsmallest(a: int, b) -> List[object]: ...
|
||||
|
||||
Reference in New Issue
Block a user