flask.Markup.swapcase

Markup.swapcase() → unicode

Return a copy of S with uppercase characters converted to lowercase and vice versa.