mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Removed unused, commented-out code.
This commit is contained in:
parent
63891ed082
commit
9907918174
@ -1498,15 +1498,6 @@ def getLogger(name=None):
|
||||
else:
|
||||
return root
|
||||
|
||||
#def getRootLogger():
|
||||
# """
|
||||
# Return the root logger.
|
||||
#
|
||||
# Note that getLogger('') now does the same thing, so this function is
|
||||
# deprecated and may disappear in the future.
|
||||
# """
|
||||
# return root
|
||||
|
||||
def critical(msg, *args, **kwargs):
|
||||
"""
|
||||
Log a message with severity 'CRITICAL' on the root logger.
|
||||
|
Loading…
Reference in New Issue
Block a user