| 83 | } |
| 84 | |
| 85 | std::string_view VocabObject::getitem(size_t key) const |
| 86 | { |
| 87 | if (key >= len()) throw py::IndexError{ std::to_string(key) }; |
| 88 | return vocabs->toWord(key); |
| 89 | } |
| 90 | |
| 91 | py::UniqueObj VocabObject::repr() const |
| 92 | { |
nothing calls this directly
no test coverage detected