Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b87151

Browse files
bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
https://bugs.python.org/issue35038 (cherry picked from commit 1770d1c) Co-authored-by: Stéphane Wirtel <[email protected]>
1 parent 4aa1fda commit 3b87151

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/library/inspect.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,6 @@ attributes:
129129
| | f_locals | local namespace seen by |
130130
| | | this frame |
131131
+-----------+-------------------+---------------------------+
132-
| | f_restricted | 0 or 1 if frame is in |
133-
| | | restricted execution mode |
134-
+-----------+-------------------+---------------------------+
135132
| | f_trace | tracing function for this |
136133
| | | frame, or ``None`` |
137134
+-----------+-------------------+---------------------------+
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)