MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _open

Method _open

tools/python-3.11.9-amd64/Lib/logging/__init__.py:1207–1214  ·  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

1205 self.release()
1206
1207 def _open(self):
1208 """
1209 Open the current base file with the (original) mode and encoding.
1210 Return the resulting stream.
1211 """
1212 open_func = self._builtin_open
1213 return open_func(self.baseFilename, self.mode,
1214 encoding=self.encoding, errors=self.errors)
1215
1216 def emit(self, record):
1217 """

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