MCPcopy Create free account
hub / github.com/pybind/pybind11 / clear

Method clear

include/pybind11/pytypes.h:2349–2349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2347 return PySet_Add(m_ptr, detail::object_or_cast(std::forward<T>(val)).ptr()) == 0;
2348 }
2349 void clear() /* py-non-const */ { PySet_Clear(m_ptr); }
2350};
2351
2352class frozenset : public anyset {

Callers 8

releaseMethod · 0.45
vector_modifiersFunction · 0.45
broadcastFunction · 0.45
convert_anysetFunction · 0.45
loadFunction · 0.45
convert_elementsMethod · 0.45
convert_elementsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected