Skip to content

Commit b174a6f

Browse files
authored
patched_generate_dot now has asterisk in sig
1 parent 3db2ea6 commit b174a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx_automodapi/automodsumm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def run(self):
271271
old_generate_dot = InheritanceGraph.generate_dot
272272

273273
if SPHINX_LT_8_2:
274-
def patched_generate_dot(self, name, urls={}, env=None,
274+
def patched_generate_dot(self, name, *, urls={}, env=None,
275275
graph_attrs={}, node_attrs={}, edge_attrs={}):
276276
# Make a new mapping dictionary that uses class full names by importing each
277277
# class documented name
@@ -280,7 +280,7 @@ def patched_generate_dot(self, name, urls={}, env=None,
280280
return old_generate_dot(self, name, urls=fullname_urls, env=env,
281281
graph_attrs=graph_attrs, node_attrs=node_attrs, edge_attrs=edge_attrs)
282282
else:
283-
def patched_generate_dot(self, name, urls={}, config=None,
283+
def patched_generate_dot(self, name, *, urls={}, config=None,
284284
graph_attrs={}, node_attrs={}, edge_attrs={}):
285285
# Make a new mapping dictionary that uses class full names by importing each
286286
# class documented name

0 commit comments

Comments
 (0)