Python support for inlined functions