MCPcopy Create free account
hub / github.com/bab2min/tomotopy / buildPyDictSkipNull

Function buildPyDictSkipNull

src/python/handler/PyUtils.h:1745–1750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1743
1744 template<typename... _Rest>
1745 inline UniqueObj buildPyDictSkipNull(const char** keys, _Rest&&... rest)
1746 {
1747 UniqueObj dict{ PyDict_New() };
1748 detail::setDictItemSkipNull(dict.get(), keys, std::forward<_Rest>(rest)...);
1749 return dict;
1750 }
1751
1752 template<typename... _Rest>
1753 inline UniqueObj buildPyDict(const UniqueObj* keys, _Rest&&... rest)

Callers

nothing calls this directly

Calls 2

setDictItemSkipNullFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected