binding for has_key method
| 230 | |
| 231 | /// binding for has_key method |
| 232 | static bool |
| 233 | has_key( CompoundData &x, PyObject *i ) |
| 234 | { |
| 235 | key_type key = convertKey( x, i ); |
| 236 | const CompoundDataMap &xData = x.readable(); |
| 237 | CompoundDataMap::const_iterator value = xData.find( key ); |
| 238 | return ( value != xData.end() ); |
| 239 | } |
| 240 | |
| 241 | /// binding for items method |
| 242 | static list |
no test coverage detected