Skip to content

Commit 1770d1c

Browse files
matrixisemiss-islington
authored andcommitted
bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
https://bugs.python.org/issue35038
1 parent 9e95eb0 commit 1770d1c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Doc/library/inspect.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ attributes:
132132
| | f_locals | local namespace seen by |
133133
| | | this frame |
134134
+-----------+-------------------+---------------------------+
135-
| | f_restricted | 0 or 1 if frame is in |
136-
| | | restricted execution mode |
137-
+-----------+-------------------+---------------------------+
138135
| | f_trace | tracing function for this |
139136
| | | frame, or ``None`` |
140137
+-----------+-------------------+---------------------------+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix the documentation about an unexisting `f_restricted` attribute in the
2+
frame object. Patch by Stéphane Wirtel

0 commit comments

Comments
 (0)