Commit 60656759 authored by Marius Wachtler's avatar Marius Wachtler

Merge commit 'd6d10b79' into refcounting

parents 4a8fc67f d6d10b79
......@@ -962,7 +962,7 @@ void setupDict() {
dict_cls->giveAttr("__eq__", new BoxedFunction(FunctionMetadata::create((void*)dictEq, UNKNOWN, 2)));
dict_cls->giveAttr("__ne__", new BoxedFunction(FunctionMetadata::create((void*)dictNe, UNKNOWN, 2)));
dict_cls->giveAttr("__hash__", incref(None));
dict_cls->giveAttr("__iter__", new BoxedFunction(FunctionMetadata::create((void*)dictIterKeys,
typeFromClass(dictiterkey_cls), 1)));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment