bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)

https://bugs.python.org/issue35038
This commit is contained in:
Stéphane Wirtel 2018-10-25 23:13:45 +02:00 committed by Miss Islington (bot)
parent 9e95eb0d60
commit 1770d1c512
2 changed files with 2 additions and 3 deletions

View File

@ -132,9 +132,6 @@ attributes:
| | f_locals | local namespace seen by | | | f_locals | local namespace seen by |
| | | this frame | | | | this frame |
+-----------+-------------------+---------------------------+ +-----------+-------------------+---------------------------+
| | f_restricted | 0 or 1 if frame is in |
| | | restricted execution mode |
+-----------+-------------------+---------------------------+
| | f_trace | tracing function for this | | | f_trace | tracing function for this |
| | | frame, or ``None`` | | | | frame, or ``None`` |
+-----------+-------------------+---------------------------+ +-----------+-------------------+---------------------------+

View File

@ -0,0 +1,2 @@
Fix the documentation about an unexisting `f_restricted` attribute in the
frame object. Patch by Stéphane Wirtel