escaping fix - description

This commit is contained in:
Dirk Alders 2025-08-15 20:00:55 +02:00
parent 680cb2439a
commit 9b04dc4460

View File

@ -46,7 +46,7 @@ logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
__DESCRIPTION__ = """The Module {\\tt %s} is designed to help with some function which don't have an own Module (yet). __DESCRIPTION__ = """The Module {\\tt %s} is designed to help with some function which don't have an own Module (yet).
For more Information read the documentation.""" % __name__.replace('_', '\_') For more Information read the documentation.""" % __name__.replace('_', '\\_')
"""The Module Description""" """The Module Description"""
__INTERPRETER__ = (2, 3) __INTERPRETER__ = (2, 3)
"""The Tested Interpreter-Versions""" """The Tested Interpreter-Versions"""
@ -81,6 +81,7 @@ class continues_statistic(dict):
.. literalinclude:: helpers/_examples_/continues_statistic.log .. literalinclude:: helpers/_examples_/continues_statistic.log
""" """
def __init__(self, mean=None, min_val=None, max_val=None, quantifier=0): def __init__(self, mean=None, min_val=None, max_val=None, quantifier=0):
dict.__init__(self) dict.__init__(self)
if mean is None: if mean is None:
@ -175,6 +176,7 @@ class continues_statistic_multivalue(dict):
.. literalinclude:: helpers/_examples_/continues_statistic_multivalue.log .. literalinclude:: helpers/_examples_/continues_statistic_multivalue.log
""" """
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
dict.__init__(self) dict.__init__(self)
if len(args) == 0 and len(kwargs) >= 0: if len(args) == 0 and len(kwargs) >= 0:
@ -534,6 +536,7 @@ class ringbuffer(list):
.. literalinclude:: helpers/_examples_/ringbuffer.log .. literalinclude:: helpers/_examples_/ringbuffer.log
""" """
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
self.__max_length__ = kwargs.pop('length') self.__max_length__ = kwargs.pop('length')
list.__init__(self, *args, **kwargs) list.__init__(self, *args, **kwargs)