mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 01:38:40 +08:00
Bump flake8-pyi to 23.11.0 (#10997)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing import Generic, NamedTuple, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from qrcode.image.base import BaseImage
|
||||
|
||||
@@ -57,9 +57,9 @@ class QRCode(Generic[GenericImage]):
|
||||
def print_tty(self, out: Incomplete | None = None) -> None: ...
|
||||
def print_ascii(self, out: Incomplete | None = None, tty: bool = False, invert: bool = False): ...
|
||||
@overload
|
||||
def make_image(self, image_factory: Literal[None] = None, **kwargs) -> GenericImage: ...
|
||||
def make_image(self, image_factory: None = None, **kwargs) -> GenericImage: ...
|
||||
@overload
|
||||
def make_image(self, image_factory: type[GenericImageLocal] | None = None, **kwargs) -> GenericImageLocal: ...
|
||||
def make_image(self, image_factory: type[GenericImageLocal], **kwargs) -> GenericImageLocal: ...
|
||||
def is_constrained(self, row: int, col: int) -> bool: ...
|
||||
def setup_timing_pattern(self) -> None: ...
|
||||
def setup_position_adjust_pattern(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user