Searched refs:missing_ok (Results 1 – 7 of 7) sorted by relevance
/external/autotest/client/cros/ |
D | network_chroot.py | 201 def get_pid_file(self, pid_file, missing_ok=False): argument 218 if not missing_ok or e.errno != errno.ENOENT: 224 def kill_pid_file(self, pid_file, missing_ok=False): argument 233 pid = self.get_pid_file(pid_file, missing_ok=missing_ok) 234 if missing_ok and pid == 0:
|
D | kernel_config.py | 159 def initialize(self, missing_ok=None): argument 179 if missing_ok: 180 self._missing_ok |= set(missing_ok)
|
D | vpn_server.py | 199 chroot.kill_pid_file(self.XL2TPD_PID_FILE, missing_ok=True) 200 chroot.kill_pid_file(self.PPPD_PID_FILE, missing_ok=True) 315 chroot.kill_pid_file(self.OPENVPN_PID_FILE, missing_ok=True)
|
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 1131 .. method:: Path.unlink(missing_ok=False) 1136 If *missing_ok* is false (the default), :exc:`FileNotFoundError` is 1139 If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be 1143 The *missing_ok* parameter was added.
|
/external/python/cpython3/Lib/ |
D | pathlib.py | 1337 def unlink(self, missing_ok=False): argument 1345 if not missing_ok:
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0b1.rst | 1523 :class:`pathlib.Path.unlink` now accepts a *missing_ok* parameter to avoid a
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 1829 p.unlink(missing_ok=True)
|