def __missing__(self, key):
if self._pass_key:<EOL><INDENT>self[key] = value = self._default_factory(key)<EOL><DEDENT>else:<EOL><INDENT>self[key] = value = self._default_factory()<EOL><DEDENT>return value<EOL>
Add a missing element.