Skip to content

Напиши plant uml для кода, с указанием всех декораторов и документации по коду

python
class StringCheck:
    def __init__(self, text: str):
        self.__text = text

    @wraps(str.islower)
    def is_lower(self):
        return self.__text.islower()
    
    @wraps(str.isupper)
    def is_upper(self):
        """
        Return True if the string is an uppercase string, False otherwise.

A string is uppercase if all cased characters in the string are uppercase and there is at least one cased character in the string.
        """
        return self.__text.isupper()

    def is_title(self):
       return self.__text.istitle()

Contacts: teffal@mail.ru