MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / __init__

Method __init__

python/internal.py:15–18  ·  view source on GitHub ↗
(self, name, update_cmd, attributes = [])

Source from the content-addressed store, hash-verified

13
14class TclVariables:
15 def __init__(self, name, update_cmd, attributes = []):
16 object.__setattr__(self, '_name', name)
17 object.__setattr__(self, '_update_cmd', update_cmd)
18 object.__setattr__(self, '_attributes', attributes)
19
20 # set corresponding variable in tcl and call update_cmd
21 def __setattr__(self, attribute_name, value):

Callers

nothing calls this directly

Calls 1

__setattr__Method · 0.80

Tested by

no test coverage detected