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
fix lint issue
  • Loading branch information
Agent-Hellboy committed Feb 11, 2024
commit 394411afcf2c26877fe1bfc8b8a88cb40e77b809
2 changes: 1 addition & 1 deletion Lib/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1899,7 +1899,7 @@ def warning(self, msg, *args, **kwargs):
"""
self.log(WARNING, msg, *args, **kwargs)

def error(self, msg, *args, stacklevel=1, **kwargs):
def error(self, msg, *args, **kwargs):
"""
Delegate an error call to the underlying logger.
"""
Expand Down
0