mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import sys
|
||||
from _typeshed import Self
|
||||
from typing import Any, Iterator, Sequence, Text, Tuple, Type
|
||||
from typing import Any, Iterator, Sequence, Text, Type
|
||||
|
||||
if sys.version_info >= (3, 0):
|
||||
from configparser import ConfigParser
|
||||
@@ -51,7 +51,7 @@ class Distribution:
|
||||
|
||||
def iter_files_distros(
|
||||
path: Sequence[Text] | None = ..., repeated_distro: Text = ...
|
||||
) -> Iterator[Tuple[ConfigParser, Distribution | None]]: ...
|
||||
) -> Iterator[tuple[ConfigParser, Distribution | None]]: ...
|
||||
def get_single(group: Text, name: Text, path: Sequence[Text] | None = ...) -> EntryPoint: ...
|
||||
def get_group_named(group: Text, path: Sequence[Text] | None = ...) -> dict[str, EntryPoint]: ...
|
||||
def get_group_all(group: Text, path: Sequence[Text] | None = ...) -> list[EntryPoint]: ...
|
||||
|
||||
Reference in New Issue
Block a user