mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 23:50:13 +08:00
[fpdf2] Add actual NamedTuple defaults (#12768)
This commit is contained in:
1 parent
3f04e4d65b
commit
98f3e5772d
2 files changed
+2
-2
No files matched your search
@@ -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