MCPcopy Create free account
hub / github.com/vispy/vispy / _update

Method _update

vispy/visuals/shaders/function.py:645–654  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

643 return self._name, self._args, self._rtype
644
645 def _update(self):
646 funcs = self._funcs
647 if len(funcs) > 0:
648 self._rtype = funcs[-1].rtype
649 self._args = funcs[0].args[:]
650 else:
651 self._rtype = 'void'
652 self._args = []
653
654 self.changed(code_changed=True)
655
656 @property
657 def code(self):

Callers 5

functionsMethod · 0.95
appendMethod · 0.95
__setitem__Method · 0.95
insertMethod · 0.95
removeMethod · 0.95

Calls 1

changedMethod · 0.80

Tested by

no test coverage detected