bs4.Declaration.swapcase

Declaration.swapcase() → unicode

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