(x)
| 543 | |
| 544 | |
| 545 | def _wrap(x): |
| 546 | if isinstance(x, collections.abc.Sequence): |
| 547 | return type(x)(map(_wrap, x)) |
| 548 | if hasattr(x.graph, "_wrap"): |
| 549 | return x.graph._wrap(x) |
| 550 | else: |
| 551 | return x |
| 552 | |
| 553 | |
| 554 | def _unwrap(x): |
no test coverage detected