Delete ``name`` from the environment. Raises ``KeyError`` if it does not exist, unless ``raising`` is set to False.
(self, name: str, raising: bool = True)
| 302 | self.setitem(os.environ, name, value) |
| 303 | |
| 304 | def delenv(self, name: str, raising: bool = True) -> None: |
| 305 | """Delete ``name`` from the environment. |
| 306 | |
| 307 | Raises ``KeyError`` if it does not exist, unless ``raising`` is set to |
| 308 | False. |
| 309 | """ |
| 310 | environ: MutableMapping[str, str] = os.environ |
| 311 | self.delitem(environ, name, raising=raising) |
| 312 | |
| 313 | def syspath_prepend(self, path) -> None: |
| 314 | """Prepend ``path`` to ``sys.path`` list of import locations.""" |