python: Pretty-printing of blend state.