mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
[fpdf2] Add actual NamedTuple defaults (#12768)
This commit is contained in:
@@ -94,7 +94,7 @@ class ToCPlaceholder(NamedTuple):
|
||||
render_function: Callable[[FPDF, Any], object]
|
||||
start_page: int
|
||||
y: int
|
||||
pages: int = ...
|
||||
pages: int = 1
|
||||
|
||||
def get_page_format(format: _Format | tuple[float, float], k: float | None = None) -> tuple[float, float]: ...
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ class OutlineSection(NamedTuple):
|
||||
level: int
|
||||
page_number: int
|
||||
dest: Destination
|
||||
struct_elem: StructElem | None = ...
|
||||
struct_elem: StructElem | None = None
|
||||
|
||||
class OutlineItemDictionary(PDFObject):
|
||||
title: PDFString
|
||||
|
||||
Reference in New Issue
Block a user