[Python-checkins] r84786 - python/branches/py3k/Lib/logging/__init__.py

vinay.sajip python-checkins at python.org
Mon Sep 13 22:28:57 CEST 2010


Author: vinay.sajip
Date: Mon Sep 13 22:28:57 2010
New Revision: 84786
Log:
Removed unused, commented-out code.
Modified:
 python/branches/py3k/Lib/logging/__init__.py
Modified: python/branches/py3k/Lib/logging/__init__.py
==============================================================================
--- python/branches/py3k/Lib/logging/__init__.py	(original)
+++ python/branches/py3k/Lib/logging/__init__.py	Mon Sep 13 22:28:57 2010
@@ -1498,15 +1498,6 @@
 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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /