From 5382d24d1d9e9a6de8d90eb7ca7c0501afaf5f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Riley=20Mi=C4=BCe=C5=A1ko?= <30989490+ShineyDev@users.noreply.github.com> Date: Mon, 12 Feb 2024 22:50:32 +0000 Subject: [PATCH] Fix return type of `calendar.HTMLCalendar.formatyearpage` (#11413) --- stdlib/calendar.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/calendar.pyi b/stdlib/calendar.pyi index 14d1d9075..5cc49e102 100644 --- a/stdlib/calendar.pyi +++ b/stdlib/calendar.pyi @@ -124,7 +124,7 @@ class HTMLCalendar(Calendar): def formatyear(self, theyear: int, width: int = 3) -> str: ... def formatyearpage( self, theyear: int, width: int = 3, css: str | None = "calendar.css", encoding: str | None = None - ) -> str: ... + ) -> bytes: ... class different_locale: def __init__(self, locale: _LocaleType) -> None: ...