py: Fix dummy definition of BEGIN/END_ATOMIC_SECTION.