diff --git a/src/ctags.cpp b/src/ctags.cpp index f2a3596..17c8199 100644 --- a/src/ctags.cpp +++ b/src/ctags.cpp @@ -281,7 +281,7 @@ std::vector Ctags::get_locations(const boost::filesystem::path void Ctags::init_module(py::module &api) { py::class_ ctags(api, "Ctags"); - py::class_(api, "Ctags") + py::class_(api, "Location") .def_readwrite("file_path", &Ctags::Location::file_path) .def_readwrite("line", &Ctags::Location::line) .def_readwrite("index", &Ctags::Location::index)