From 2c050af28b6e4f718f11f2440df85daeb1bc3ece Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 3 Oct 2006 18:21:56 +0000 Subject: [PATCH] Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622). --- Lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index dc3400d00d..71efbd67fb 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -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. """ -- 2.50.1