summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2007-01-09 14:54:56 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2007-01-09 14:54:56 (GMT)
commit1211edd81b66ecfa04327c4dc576673ddabc3838 (patch)
tree748902342939322267ec1ce4d403619ebe5dc97d /Lib/logging
parentab41c109fa081c045117ee74ff059d85074ce244 (diff)
downloadcpython-1211edd81b66ecfa04327c4dc576673ddabc3838.zip
cpython-1211edd81b66ecfa04327c4dc576673ddabc3838.tar.gz
cpython-1211edd81b66ecfa04327c4dc576673ddabc3838.tar.bz2
Added a docstring
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index d178091..b3412fc 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: