This affects which how placeholders are rendered. By settings this private variable you do achieve the end result.
However, I think it is not entirely clear to the reader of the code the significance of setting of this _variable.
Can you please add an apropriate docstring to explain what your  intent is?