mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Addressed minor errors caught by pyright in stdlib stubs (#4880)
* Removed unused import symbols from stdlib stubs and fixed a few other errors detected by pyright. I did a similar pass several months ago; these were introduced since then. * Added a few missing types and type arguments. Removed unused import statement. Removed default values that caused overloads to have overlapping signatures. Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
1 parent
6458a41568
commit
0cf9a38eb8
7 files changed
+7
-8
No files matched your search
@@ -5,4 +5,4 @@ class upload(PyPIRCCommand):
|
||||
description: ClassVar[str]
|
||||
boolean_options: ClassVar[List[str]]
|
||||
def run(self) -> None: ...
|
||||
def upload_file(self, command, pyversion, filename) -> None: ...
|
||||
def upload_file(self, command: str, pyversion: str, filename: str) -> None: ...
|
||||
Reference in new issue
Block a user