Fix return type of FPDF.output() (#10166)

This commit is contained in:
Sebastian Rittau
2023-05-10 16:05:48 +02:00
committed by GitHub
parent adddc4f24a
commit ff700e1b95

View File

@@ -548,8 +548,8 @@ class FPDF(GraphicsStateMixin):
dest: Unused = "",
linearize: bool = False,
output_producer_class: Callable[[FPDF], OutputProducer] = ...,
) -> None: ...
) -> bytearray: ...
@overload
def output(
self, name: str, dest: Unused = "", linearize: bool = False, output_producer_class: Callable[[FPDF], OutputProducer] = ...
) -> bytearray: ...
) -> None: ...