Yes, that was the code. I tried to format the code, and I am sure I posted it again...
Here is the compiler error and the grep output without formatting: $ swig -c++ -python...
Wrapped erase function incorrectly named for a wrapped std::map type