| 303 | } |
| 304 | |
| 305 | bp::object histogram_at(bp::tuple args, bp::dict kwargs) { |
| 306 | if (kwargs) { throw std::invalid_argument("no keyword arguments allowed"); } |
| 307 | const pyhistogram& self = bp::extract<const pyhistogram&>(args[0]); |
| 308 | |
| 309 | bp::object a = args.slice(1, bp::_); |
| 310 | return histogram_getitem(self, bp::extract<bp::tuple>(a)); |
| 311 | } |
| 312 | |
| 313 | bp::object histogram_reduce_to(bp::tuple args, bp::dict kwargs) { |
| 314 | if (kwargs) { throw std::invalid_argument("no keyword arguments allowed"); } |
nothing calls this directly
no test coverage detected