Skip to content

Commit a55ee28

Browse files
author
Matthias Koeppe
committed
GenericGraph.export_to_file: Update documentation for removed format='yaml'
1 parent 93b9987 commit a55ee28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/graphs/generic_graph.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ def export_to_file(self, filename, format=None, **kwds):
13381338
explicitly. If set to ``None`` (default), the format is set to be the
13391339
file extension of ``filename``. Admissible formats are: ``'adjlist'``,
13401340
``'dot'``, ``'edgelist'``, ``'gexf'``, ``'gml'``, ``'graphml'``,
1341-
``'multiline_adjlist'``, ``'pajek'``, ``'yaml'``.
1341+
``'multiline_adjlist'``, ``'pajek'``.
13421342

13431343
- All other arguments are forwarded to the subfunction. For more
13441344
information, see their respective documentation:
@@ -1356,7 +1356,6 @@ def export_to_file(self, filename, format=None, **kwds):
13561356
``'graphml'`` | :func:`networkx.readwrite.graphml.write_graphml`
13571357
``'multiline_adjlist'`` | :func:`networkx.readwrite.multiline_adjlist.write_multiline_adjlist`
13581358
``'pajek'`` | :func:`networkx.readwrite.pajek.write_pajek`
1359-
``'yaml'`` | :func:`networkx.readwrite.nx_yaml.write_yaml`
13601359

13611360
.. SEEALSO::
13621361

0 commit comments

Comments
 (0)