Skip to content

Commit

Permalink
GenericGraph.export_to_file: Update documentation for removed format=…
Browse files Browse the repository at this point in the history
…'yaml'
  • Loading branch information
Matthias Koeppe committed Mar 15, 2024
1 parent 93b9987 commit a55ee28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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::

Expand Down

0 comments on commit a55ee28

Please sign in to comment.