Start wrapping seq_span
[mussa.git] / py / stl_container_adapter.cpp
1 #include "stl_container_adapter.hpp"
2
3 void translate(IndexError const& e)
4
5   PyErr_SetString(PyExc_IndexError, "Index out of range"); 
6 }
7
8 void translate(KeyError const& e)
9
10   PyErr_SetString(PyExc_KeyError, "Key not found"); 
11 }
12