From: Vinay Sajip Date: Tue, 9 Jan 2007 14:54:56 +0000 (+0000) Subject: Added a docstring X-Git-Tag: v2.6a1~2301 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1211edd81b66ecfa04327c4dc576673ddabc3838;p=thirdparty%2FPython%2Fcpython.git Added a docstring --- diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index d17809153feb..b3412fc4638c 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -783,6 +783,10 @@ class FileHandler(StreamHandler): 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: