From c14376672f1487a72693a927c2d2a7502e77ca64 Mon Sep 17 00:00:00 2001 From: boomxy <32252415+boomxy@users.noreply.github.com> Date: Thu, 4 Jul 2024 01:01:00 +0800 Subject: [PATCH] PEP 667: Change slots in FrameLocalsProxy (#3805) Update pep-0667.rst Changed __slots__ in FrameLocalsProxy --- peps/pep-0667.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peps/pep-0667.rst b/peps/pep-0667.rst index cbe1b5d26..97c98efb3 100644 --- a/peps/pep-0667.rst +++ b/peps/pep-0667.rst @@ -282,7 +282,7 @@ They serve only to illustrate the proposed design. class FrameLocalsProxy: "Implements collections.MutableMapping." - __slots__ "_frame" + __slots__ = ("_frame", ) def __init__(self, frame:FrameType): self._frame = frame