def taggedValue(key, value):
 f_locals = sys._getframe(1).f_locals
 tagged_values = f_locals.setdefault(TAGGED_DATA, {})
 tagged_values[key] = value
 return _decorator_non_return

def taggedValue ( key , value ) : f_locals = sys . _getframe ( 1 ) . f_locals tagged_values = f_locals . setdefault ( TAGGED_DATA , { } ) tagged_values [ key ] = value return _decorator_non_return
attaches a tagged value to an interface at definition time .