class UnicodeString(object):
"""
Represents a unicode string
"""
def __init__(self, source: str) -> None:
"""
Create a unicode string from a given source
:param source: The source to create a unicode string from
:return: A unicode string
>>> u = UnicodeString("string")
>>> u.source
"string"
"""
self._source = source
@property
def source(self) -> str:
"""
Get the source
:return: THe source
"""
return self._source
@source.setter
def source(self, new_source: str) -> None:
"""
Set the source
:param new_source: The new source
:return: The singleton None object
"""
self._source = new_source
Не ну это чай в студию
Ruslan
Kirill
Anonymous
Pavel
decorator-factory
Shawn
Sci
Evgen
Tishka17
Alex
Denis
Dmitriy
speaknow
Fᴏʀᴅᴇɴ
Владимир
Туркин Михаил
tpouuhk