neuroglancer.json_wrappers.Map[K, V].pop(key: K, /) -> V
neuroglancer.json_wrappers.Map[K, V].pop(
    
key: K, default: V, /
) -> V
neuroglancer.json_wrappers.Map[K, V].pop[T](
    
key: K, default: T, /
) -> V | T

Removes and returns the mapped value associated with the specified key.

Returns:

The mapped value, or default if key is not specified and default is specified.

Raises:

KeyError – if the key is not present and default is not specified.