From 5ce83a004fc0904a43c901c4144c041e2a4155d7 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 1 Jun 2009 17:23:51 +0000 Subject: [PATCH] Use true boolean for flag argument. --- Lib/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/inspect.py b/Lib/inspect.py index c316906dd51..fe3ffc7de5d 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -704,7 +704,7 @@ def walktree(classes, children, parent): results.append(walktree(children[c], children, c)) return results -def getclasstree(classes, unique=0): +def getclasstree(classes, unique=False): """Arrange the given list of classes into a hierarchy of nested lists. Where a nested list appears, it contains classes derived from the class