ID EN
Built-in Types

del d[key]

Python 3.11

Remove d[key] from d. Raises a KeyError if key is not in the map.

Syntax

PYTHON
del d[key]

See Also

KeyError