mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Added a docstring
This commit is contained in:
parent
ab41c109fa
commit
1211edd81b
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue