All Classes Namespaces Files Functions Variables Typedefs Properties Macros
Public Member Functions | List of all members
miasm2.core.utils.keydefaultdict Class Reference
+ Inheritance diagram for miasm2.core.utils.keydefaultdict:
+ Collaboration diagram for miasm2.core.utils.keydefaultdict:

Public Member Functions

def __missing__

Detailed Description

Definition at line 43 of file utils.py.

Member Function Documentation

def miasm2.core.utils.keydefaultdict.__missing__ (   self,

Definition at line 45 of file utils.py.

46  def __missing__(self, key):
47  if self.default_factory is None:
48  raise KeyError(key)
49  value = self[key] = self.default_factory(key)
50  return value

The documentation for this class was generated from the following file: