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

Method iter

src/python/handler/py_utils.cpp:782–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

780}
781
782py::UniqueCObj<CorpusIterObject> CorpusObject::iter()
783{
784 auto ret = py::makeNewObject<CorpusIterObject>();
785 if (!ret) throw py::ExcPropagation{};
786 ret->corpus = py::UniqueCObj<CorpusObject>{ this };
787 Py_INCREF(this);
788 return ret;
789}
790
791const tomoto::Dictionary& CorpusObject::getVocabDict() const
792{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected