mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).
This commit is contained in:
parent
f4686f995e
commit
2c050af28b
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class LogRecord:
|
|||
information to be logged.
|
||||
"""
|
||||
def __init__(self, name, level, pathname, lineno,
|
||||
msg, args, exc_info, func):
|
||||
msg, args, exc_info, func=None):
|
||||
"""
|
||||
Initialize a logging record with interesting information.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue