diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-06-07 22:38:07 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2023-06-07 22:38:07 +0300 |
commit | 10388f0133221ef0527aa333f68cc367bf2325b4 (patch) | |
tree | ff793b37e9c022e93c490d6eb13c17cfb36957e5 | |
parent | c2044cea4d9fce61d90ed832e021bfc4339e16d7 (diff) |
cq: Typings: Use union operator for css_parser
-rw-r--r-- | typings/css_parser/__init__.pyi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/typings/css_parser/__init__.pyi b/typings/css_parser/__init__.pyi index 913c82573..de4a4fac5 100644 --- a/typings/css_parser/__init__.pyi +++ b/typings/css_parser/__init__.pyi @@ -1,7 +1,5 @@ from __future__ import annotations -from typing import Union - from pathlib import Path from . import css as css @@ -13,4 +11,4 @@ from .stylesheets import MediaList ser: CSSSerializer -def parseFile(filename: Union[str, Path], href: str | None = ..., media: Union[MediaList, list[str], str, None] = ..., title: str | None = ..., validate: bool | None = ...) -> None: ... +def parseFile(filename: str | Path, href: str | None = ..., media: MediaList | list[str] | str | None = ..., title: str | None = ..., validate: bool | None = ...) -> None: ... |