changed inherited block for python blocks