Ejemplo n.º 1
0
 def __init__(self, name, dom, cod, data=None, _dagger=False):
     """
     """
     if not str(name):
         raise ValueError(messages.empty_name(name))
     self._name, self._dom, self._cod = name, dom, cod
     self._boxes, self._dagger, self._data = [self], _dagger, data
     Arrow.__init__(self, dom, cod, [self], _scan=False)
Ejemplo n.º 2
0
 def __init__(self, name):
     if not str(name):
         raise ValueError(messages.empty_name(name))
     self._name = name