gh-91348: Restore frame argument to sys._getframe audit event (GH-94928)

This commit is contained in:
Steve Dower 2022-07-17 16:11:24 +01:00 committed by GitHub
parent 5c19ddab65
commit 044a593cbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 6 deletions

View file

@ -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::