use interned Python string constant instead of calling through __Pyx_GetAttrString()
simplify code a bit