File manager - Edit - /usr/lib/python3/dist-packages/stevedore/example/base.py
Back
import abc class FormatterBase(metaclass=abc.ABCMeta): """Base class for example plugin used in the tutorial. """ def __init__(self, max_width=60): self.max_width = max_width @abc.abstractmethod def format(self, data): """Format the data and return unicode text. :param data: A dictionary with string keys and simple types as values. :type data: dict(str:?) :returns: Iterable producing the formatted text. """
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings