diff options
author | Stéphane Wirtel <stephane@wirtel.be> | 2018-10-25 23:13:45 +0200 |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-25 14:13:45 -0700 |
commit | 1770d1c5121ed6c64d7072875738f97e07eede8a (patch) | |
tree | 3d4aec423b46c2015a6242ead4baf6080bab0993 | |
parent | 9e95eb0d609cee23e6c9915c0bef243585b8c14b (diff) | |
download | cpython-git-1770d1c5121ed6c64d7072875738f97e07eede8a.tar.gz |
bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
https://bugs.python.org/issue35038
-rw-r--r-- | Doc/library/inspect.rst | 3 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2018-10-25-17-45-09.bpo-35038.2eVOYS.rst | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 523a5f3417..50cd00367a 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -132,9 +132,6 @@ attributes: | | f_locals | local namespace seen by | | | | this frame | +-----------+-------------------+---------------------------+ -| | f_restricted | 0 or 1 if frame is in | -| | | restricted execution mode | -+-----------+-------------------+---------------------------+ | | f_trace | tracing function for this | | | | frame, or ``None`` | +-----------+-------------------+---------------------------+ diff --git a/Misc/NEWS.d/next/Documentation/2018-10-25-17-45-09.bpo-35038.2eVOYS.rst b/Misc/NEWS.d/next/Documentation/2018-10-25-17-45-09.bpo-35038.2eVOYS.rst new file mode 100644 index 0000000000..3558cf47d5 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2018-10-25-17-45-09.bpo-35038.2eVOYS.rst @@ -0,0 +1,2 @@ +Fix the documentation about an unexisting `f_restricted` attribute in the +frame object. Patch by Stéphane Wirtel |