MCPcopy Index your code
hub / github.com/RustPython/RustPython / _open

Method _open

Lib/logging/__init__.py:1242–1249  ·  view source on GitHub ↗

Open the current base file with the (original) mode and encoding. Return the resulting stream.

(self)

Source from the content-addressed store, hash-verified

1240 StreamHandler.close(self)
1241
1242 def _open(self):
1243 """
1244 Open the current base file with the (original) mode and encoding.
1245 Return the resulting stream.
1246 """
1247 open_func = self._builtin_open
1248 return open_func(self.baseFilename, self.mode,
1249 encoding=self.encoding, errors=self.errors)
1250
1251 def emit(self, record):
1252 """

Callers 6

__init__Method · 0.95
emitMethod · 0.95
doRolloverMethod · 0.45
shouldRolloverMethod · 0.45
doRolloverMethod · 0.45
reopenIfNeededMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected