Added a docstring

This commit is contained in:
Vinay Sajip 2007-01-09 14:54:56 +00:00
parent ab41c109fa
commit 1211edd81b
1 changed files with 4 additions and 0 deletions

View 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: