MCPcopy Create free account
hub / github.com/cvxpy/cvxpy / wrapper

Function wrapper

cvxpy/cvxcore/python/cvxcore.py:51–52  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

49def _swig_add_metaclass(metaclass):
50 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
51 def wrapper(cls):
52 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
53 return wrapper
54
55

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected