]> granicus.if.org Git - python/commitdiff
Added a docstring
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 9 Jan 2007 14:54:56 +0000 (14:54 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 9 Jan 2007 14:54:56 +0000 (14:54 +0000)
Lib/logging/__init__.py

index d17809153feb17c398c38be3d315f80eb64cddf0..b3412fc4638cd5b78a4c256919bf7da4e0130b2b 100644 (file)
@@ -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: