MCPcopy
hub / github.com/cool-RR/PySnooper / _opener

Method _opener

tests/mini_toolbox/pathlib.py:1229–1231  ·  view source on GitHub ↗
(self, name, flags, mode=0o666)

Source from the content-addressed store, hash-verified

1227 raise ValueError("I/O operation on closed path")
1228
1229 def _opener(self, name, flags, mode=0o666):
1230 # A stub for the opener argument to built-in open()
1231 return self._accessor.open(self, flags, mode)
1232
1233 def _raw_open(self, flags, mode=0o777):
1234 """

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected