Function pybind11::detail::resolveQuantityVar

Function pybind11::detail::resolveQuantityVar#

Function Documentation#

inline handle pybind11::detail::resolveQuantityVar(handle value)#

Resolve quantity units when a native Var first reaches Python.

Parameters:

value – Newly cast Python object, whose reference is transferred here.

Returns:

The same object with its original reference ownership.