MCPcopy Index your code
hub / github.com/cool-RR/PySnooper / _exc_func

Method _exc_func

tests/mini_toolbox/pathlib.py:1460–1464  ·  view source on GitHub ↗
(exc)

Source from the content-addressed store, hash-verified

1458 self._accessor.mkdir(self, mode)
1459
1460 def _exc_func(exc):
1461 if not parents or self.parent == self:
1462 raise exc
1463 self.parent.mkdir(parents=True, exist_ok=True)
1464 self.mkdir(mode, parents=False, exist_ok=exist_ok)
1465
1466 try:
1467 _try_except_filenotfounderror(_try_func, _exc_func)

Callers

nothing calls this directly

Calls 1

mkdirMethod · 0.95

Tested by

no test coverage detected