PEP 667: Change slots in FrameLocalsProxy (#3805)
Update pep-0667.rst Changed __slots__ in FrameLocalsProxy
This commit is contained in:
parent
7df3ef8738
commit
c14376672f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue