Skip to content

Commit 633f81d

Browse files
committed
Add as_packages to find_shortest_chains signature in usage doc
1 parent 5cd7df7 commit 633f81d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Methods for analysing import chains
228228
:return: The shortest chain of imports between the supplied modules, or None if no chain exists.
229229
:rtype: A tuple of strings, ordered from importer to imported modules, or None.
230230

231-
.. py:function:: ImportGraph.find_shortest_chains(importer, imported)
231+
.. py:function:: ImportGraph.find_shortest_chains(importer, imported, as_packages=True)
232232
233233
:param str importer: A module or subpackage within the graph.
234234
:param str imported: Another module or subpackage within the graph.

0 commit comments

Comments
 (0)