()
| 4638 | /// ``` |
| 4639 | #[cfg_attr(feature = "py-binding", fn_wrapper)] |
| 4640 | pub fn create_context() -> Result<Context> { |
| 4641 | let context = create_unchecked_context()?; |
| 4642 | context.add_type_checker()?; |
| 4643 | Ok(context) |
| 4644 | } |
| 4645 | |
| 4646 | fn graphs_deep_equal(graph1: Graph, graph2: Graph) -> bool { |
| 4647 | let graph1_body = graph1.body.borrow(); |