mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
change empty bodies from "pass" to "..."
CONTRIBUTING.md says to prefer ... Not the most impactful change but fixing these will allow us to lint for it in the future and get a consistent style.
This commit is contained in:
committed by
Łukasz Langa
parent
17be26165d
commit
349ff59f33
@@ -1,5 +1,5 @@
|
||||
from typing import Any
|
||||
|
||||
def getline(filename: str, lineno: int, module_globals: Any=...) -> str: pass
|
||||
def clearcache() -> None: pass
|
||||
def getlines(filename: str, module_globals: Any=...) -> None: pass
|
||||
def getline(filename: str, lineno: int, module_globals: Any=...) -> str: ...
|
||||
def clearcache() -> None: ...
|
||||
def getlines(filename: str, module_globals: Any=...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user