From 01ca5e856e32b46961de97bbbad2a4be8227666b Mon Sep 17 00:00:00 2001 From: Vineet Naik Date: Sun, 23 Oct 2016 14:08:48 +0530 Subject: [PATCH] Fix docstring --- pipdeptree.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pipdeptree.py b/pipdeptree.py index a6a803f..c6265c7 100644 --- a/pipdeptree.py +++ b/pipdeptree.py @@ -359,12 +359,11 @@ def conflicting_deps(tree): def cyclic_deps(tree): - """Generator that produces cyclic dependencies + """Return cyclic dependencies as list of tuples :param list pkgs: pkg_resources.Distribution instances :param dict pkg_index: mapping of pkgs with their respective keys - :returns: generator that yields str representation of cyclic - dependencies + :returns: list of tuples representing cyclic dependencies :rtype: generator """