MCPcopy Create free account
hub / github.com/Kitware/VTK / decorator

Function decorator

Wrapping/Python/vtkmodules/numpy_interface/dataset_adapter.py:82–84  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

80def _override_numpy(numpy_function):
81 """Register an __array_function__ implementation for VTKCompositeDataArray objects."""
82 def decorator(func):
83 COMPOSITE_OVERRIDE[numpy_function] = func
84 return func
85 return decorator
86
87def reshape_append_ones (a1, a2):

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected