summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-17 15:49:57 (GMT)
committerGitHub <noreply@github.com>2022-07-17 15:49:57 (GMT)
commit1c63734217be75c9fd024ba8fad28ccb108b4d55 (patch)
tree6f4df4899dde2c7716ad5755d57cbbea47594686 /Doc/library/sys.rst
parent65d87a2cb843d5f6af6489cb9784f55938196a28 (diff)
downloadcpython-1c63734217be75c9fd024ba8fad28ccb108b4d55.zip
cpython-1c63734217be75c9fd024ba8fad28ccb108b4d55.tar.gz
cpython-1c63734217be75c9fd024ba8fad28ccb108b4d55.tar.bz2
gh-91348: Restore frame argument to sys._getframe audit event (GH-94928)
(cherry picked from commit 044a593cbbe1639e906e06c47504dd1020ddfee4) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index d9799f8..e10efb1 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -774,7 +774,7 @@ always available.
that is deeper than the call stack, :exc:`ValueError` is raised. The default
for *depth* is zero, returning the frame at the top of the call stack.
- .. audit-event:: sys._getframe "" sys._getframe
+ .. audit-event:: sys._getframe frame sys._getframe
.. impl-detail::