mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
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. (#4803)
Co-authored-by: Eric Traut <erictr@microsoft.com>
This commit is contained in:
1 parent
3d8a29705e
commit
c4d8507ff7
19 files changed
+26
-20
No files matched your search
@@ -1,5 +1,5 @@
|
||||
from distutils.config import PyPIRCCommand
|
||||
from typing import ClassVar, List, Optional, Tuple
|
||||
from typing import ClassVar, List
|
||||
|
||||
class upload(PyPIRCCommand):
|
||||
description: ClassVar[str]
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
from _typeshed import AnyPath, SupportsWrite
|
||||
from distutils.cmd import Command
|
||||
from typing import IO, Any, AnyStr, Dict, Iterable, List, Mapping, Optional, Tuple, Type, Union
|
||||
from typing import IO, Any, Dict, Iterable, List, Mapping, Optional, Tuple, Type, Union
|
||||
|
||||
class DistributionMetadata:
|
||||
def __init__(self, path: Optional[Union[int, AnyPath]] = ...): ...
|
||||
def __init__(self, path: Optional[Union[int, AnyPath]] = ...) -> None: ...
|
||||
name: Optional[str]
|
||||
version: Optional[str]
|
||||
author: Optional[str]
|
||||
|
||||
Reference in new issue
Block a user