From f9781587e39e5f9b6414d58281201d580bf1f6d7 Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:54:07 +0100 Subject: [PATCH] PEP 728: Fix code block syntax --- peps/pep-0728.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0728.rst b/peps/pep-0728.rst index d6094616990..38fbe29620b 100644 --- a/peps/pep-0728.rst +++ b/peps/pep-0728.rst @@ -258,7 +258,7 @@ If ``closed`` is not provided, the behavior is inherited from the superclass. If the superclass is TypedDict itself or the superclass does not have ``closed=True`` or the ``extra_items`` parameter, the previous TypedDict behavior is preserved: arbitrary extra items are allowed. If the superclass has ``closed=True``, the -child class is also closed. +child class is also closed:: class BaseMovie(TypedDict, closed=True): name: str