10000 gh-115233: Fix currentframe to get the frame of original caller by Agent-Hellboy · Pull Request #115241 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-115233: Fix currentframe to get the frame of original caller #115241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
Update Lib/logging/__init__.py
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  • Loading branch information
Agent-Hellboy and serhiy-storchaka authored Feb 11, 2024
commit 03226868c326478d0e9ed3fb98b3c195df4bd9e8
2 changes: 1 addition & 1 deletion Lib/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ def log(self, level, msg, *args, stacklevel=1, **kwargs):
"""
self._log(level, msg, *args, stacklevel=stacklevel + 1, **kwargs)

def _log(self, level, msg, *args, stacklevel=1, **kwargs):
def _log(self, level, msg, args, stacklevel=1, **kwargs):
"""
Low-level log implementation, proxied to allow nested logger adapters.
"""
Expand Down
0