Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-15 00:18:19 +00:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions

View File

@@ -1,12 +1,10 @@
from typing import Tuple
class Extension:
def __init__(
self,
name: str,
sources: list[str],
include_dirs: list[str] | None = ...,
define_macros: list[Tuple[str, str | None]] | None = ...,
define_macros: list[tuple[str, str | None]] | None = ...,
undef_macros: list[str] | None = ...,
library_dirs: list[str] | None = ...,
libraries: list[str] | None = ...,