bs4.CData.swapcase

CData.swapcase() → unicode

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