Lines Matching refs:dict
14 def __new__(meta, name, bases, dict):
15 meta.convert_methods(dict)
17 meta, name, bases, dict)
20 def convert_methods(cls, dict):
21 """Replace functions in dict with EiffelMethod wrappers.
23 The dict is modified in place.
25 If a method ends in _pre or _post, it is removed from the dict
30 for k, v in dict.items():
36 pre = dict.get("%s_pre" % m)
37 post = dict.get("%s_post" % m)
39 dict[m] = cls.make_eiffel_method(dict[m], pre, post)