Python ******//
(&self, name: &str)
| 265 | |
| 266 | //****** Python ******// |
| 267 | pub fn __getitem__(&self, name: &str) -> PyResult<Prop> { |
| 268 | self.node |
| 269 | .properties() |
| 270 | .get(name) |
| 271 | .ok_or(PyKeyError::new_err(format!("Unknown property {}", name))) |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | impl Repr for PyNode { |
nothing calls this directly
no test coverage detected