PEP 667: Change slots in FrameLocalsProxy (#3805)

Update pep-0667.rst

Changed __slots__ in FrameLocalsProxy
This commit is contained in:
boomxy 2024-07-04 01:01:00 +08:00 committed by GitHub
parent 7df3ef8738
commit c14376672f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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