templates: python blocks are now in 3.6.3 style