mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +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:
1 parent
17be26165d
commit
349ff59f33
16 files changed
+53
-53
No files matched your search
@@ -9,6 +9,6 @@ class StreamWriter(codecs.StreamWriter):
|
||||
class StreamReader(codecs.StreamReader):
|
||||
pass
|
||||
|
||||
def getregentry() -> codecs.CodecInfo: pass
|
||||
def encode(input: str, errors: str = ...) -> bytes: pass
|
||||
def decode(input: bytes, errors: str = ...) -> str: pass
|
||||
def getregentry() -> codecs.CodecInfo: ...
|
||||
def encode(input: str, errors: str = ...) -> bytes: ...
|
||||
def decode(input: bytes, errors: str = ...) -> str: ...
|
||||
Reference in new issue
Block a user