From a55ee287ac08ab13b551c51f804b378683c52fed Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Fri, 15 Mar 2024 15:00:59 -0700 Subject: [PATCH] GenericGraph.export_to_file: Update documentation for removed format='yaml' --- src/sage/graphs/generic_graph.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sage/graphs/generic_graph.py b/src/sage/graphs/generic_graph.py index 844672fbf05..4d147efcd2f 100644 --- a/src/sage/graphs/generic_graph.py +++ b/src/sage/graphs/generic_graph.py @@ -1338,7 +1338,7 @@ def export_to_file(self, filename, format=None, **kwds): explicitly. If set to ``None`` (default), the format is set to be the file extension of ``filename``. Admissible formats are: ``'adjlist'``, ``'dot'``, ``'edgelist'``, ``'gexf'``, ``'gml'``, ``'graphml'``, - ``'multiline_adjlist'``, ``'pajek'``, ``'yaml'``. + ``'multiline_adjlist'``, ``'pajek'``. - All other arguments are forwarded to the subfunction. For more information, see their respective documentation: @@ -1356,7 +1356,6 @@ def export_to_file(self, filename, format=None, **kwds): ``'graphml'`` | :func:`networkx.readwrite.graphml.write_graphml` ``'multiline_adjlist'`` | :func:`networkx.readwrite.multiline_adjlist.write_multiline_adjlist` ``'pajek'`` | :func:`networkx.readwrite.pajek.write_pajek` - ``'yaml'`` | :func:`networkx.readwrite.nx_yaml.write_yaml` .. SEEALSO::