mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Get rid of many apply() calls.
This commit is contained in:
parent
f389c77273
commit
68468eba63
38 changed files with 85 additions and 91 deletions
|
@ -88,7 +88,7 @@ def initlog(*allargs):
|
|||
log = nolog
|
||||
else:
|
||||
log = dolog
|
||||
apply(log, allargs)
|
||||
log(*allargs)
|
||||
|
||||
def dolog(fmt, *args):
|
||||
"""Write a log message to the log file. See initlog() for docs."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue