Commit d5ef3158 authored by Chris Toshok's avatar Chris Toshok

this codepath doesn't need this check for tp_setattro

parent 365ee969
...@@ -678,11 +678,6 @@ void Box::setattr(const std::string& attr, Box* val, SetattrRewriteArgs* rewrite ...@@ -678,11 +678,6 @@ void Box::setattr(const std::string& attr, Box* val, SetattrRewriteArgs* rewrite
return; return;
} }
if (cls->tp_setattro) {
cls->tp_setattro(this, boxString(attr), val);
return;
}
// Unreachable // Unreachable
abort(); abort();
} }
......
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