returns a string which represent the object e.g. when printed in python
| 33 | |
| 34 | // returns a string which represent the object e.g. when printed in python |
| 35 | std::string TypePy::representation() const |
| 36 | { |
| 37 | std::stringstream str; |
| 38 | str << "<class '" << getBaseTypePtr()->getName() << "'>"; |
| 39 | return str.str(); |
| 40 | } |
| 41 | |
| 42 | PyObject* TypePy::fromName(PyObject* args) |
| 43 | { |