[Python-checkins] r53306 - python/trunk/Lib/logging/__init__.py
vinay.sajip
python-checkins at python.org
Tue Jan 9 15:54:56 CET 2007
Author: vinay.sajip
Date: Tue Jan 9 15:54:56 2007
New Revision: 53306
Modified:
python/trunk/Lib/logging/__init__.py
Log:
Added a docstring
Modified: python/trunk/Lib/logging/__init__.py
==============================================================================
--- python/trunk/Lib/logging/__init__.py (original)
+++ python/trunk/Lib/logging/__init__.py Tue Jan 9 15:54:56 2007
@@ -783,6 +783,10 @@
StreamHandler.close(self)
def _open(self):
+ """
+ Open the current base file with the (original) mode and encoding.
+ Return the resulting stream.
+ """
if self.encoding is None:
stream = open(self.baseFilename, self.mode)
else:
More information about the Python-checkins
mailing list