mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-05 22:04:27 +08:00
address residual few remarks
This commit is contained in:
@@ -136,7 +136,7 @@ struct sparseIntVec_wrapper {
|
||||
boost::shared_ptr<SparseIntVect<IndexType>>>(
|
||||
className, sparseIntVectDoc.c_str(),
|
||||
python::init<IndexType>("Constructor"))
|
||||
.def(python::init<std::string>())
|
||||
.def(python::init<std::string>(python::args("self", "pkl")))
|
||||
// Note: we cannot support __len__ because, at least at the moment
|
||||
// (BPL v1.34.1), it must return an int.
|
||||
.def("__setitem__", &SparseIntVect<IndexType>::setVal,
|
||||
|
||||
Reference in New Issue
Block a user