Use _typeshed.FileDescriptorOrPath in stubs (#9695)

This commit is contained in:
Avasam authored and GitHub committed 2023-02-09 08:30:19 +01:00
1 parent 6d535bf0a3
commit 372073d35b
13 files changed
+39 -53

No files matched your search

@@ -1,10 +1,10 @@
from _typeshed import StrOrBytesPath, SupportsWrite
from _typeshed import FileDescriptorOrPath, SupportsWrite
from collections.abc import Iterable, Mapping
from distutils.cmd import Command
from typing import IO, Any
class DistributionMetadata:
def __init__(self, path: int | StrOrBytesPath | None = ...) -> None: ...
def __init__(self, path: FileDescriptorOrPath | None = ...) -> None: ...
name: str | None
version: str | None
author: str | None