diff --git a/src/sage/graphs/orientations.py b/src/sage/graphs/orientations.py index 038ee1ebe81..2d0a74f1eb5 100644 --- a/src/sage/graphs/orientations.py +++ b/src/sage/graphs/orientations.py @@ -150,6 +150,15 @@ def orient(G, f, weighted=None, data_structure=None, sparse=None, sage: G.orient(foo, immutable=False, sparse=False)._backend + sage: G.orient(foo, data_structure=None, immutable=None, sparse=True)._backend + + sage: G.orient(foo, data_structure=None, immutable=None, sparse=False)._backend + + sage: G.orient(foo, data_structure=None, immutable=None, sparse=None)._backend + + sage: H = Graph(data_structure='dense') + sage: H.orient(foo, data_structure=None, immutable=None, sparse=None)._backend + """ # Which data structure should be used ? if data_structure is not None: