Skip to content

Commit 26c98db

Browse files
committed
feat: make use of templating in docstring fragments
1 parent fa4564a commit 26c98db

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
outstream: the output file or stream to write the graph to. May be a
2+
filename, a path-like object or a file-like object if it is backed
3+
by a low-level file handle

docs/fragments/igraph_write_graph_edgelist.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ in the output file instead of IDs.
99

1010
Parameters:
1111
graph: the graph to write
12-
outstream: the output file or stream to write the graph to. May be a
13-
filename, a path-like object or a file-like object if it is backed
14-
by a low-level file handle
12+
{% include '_include/write_graph_outstream.txt' %}

docs/fragments/igraph_write_graph_graphml.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ The GraphML format preserves numeric, string and boolean attributes.
44

55
Parameters:
66
graph: the graph to write
7-
outstream: the output file or stream to write the graph to. May be a
8-
filename, a path-like object or a file-like object if it is backed
9-
by a low-level file handle
7+
{% include '_include/write_graph_outstream.txt' %}
108
prefixattr: whether to put a prefix in front of the attribute names to
119
ensure uniqueness if the graph has vertex and edge (or graph)
1210
attributes with the same name

poetry.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pytest = "^7.2.1"
1515
pytest-cov = "^4.0.0"
1616
richbench = "^1.0.3"
1717
igraph = "^0.10.6"
18-
stimulus = { git = "https://github.com/igraph/stimulus.git", tag = "0.15.0" }
18+
stimulus = { git = "https://github.com/igraph/stimulus.git", tag = "0.16.0" }
1919
pytest-datadir = "^1.4.1"
2020

2121
[tool.poetry.group.doc.dependencies]

0 commit comments

Comments
 (0)