summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-01 17:23:51 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-01 17:23:51 (GMT)
commit5ce83a004fc0904a43c901c4144c041e2a4155d7 (patch)
treefa75d379aef9eb7eb0f8529202b8a77842d8d6cb /Lib
parent74b7e44d7dbb57068788330dd4070dd502f5f945 (diff)
downloadcpython-5ce83a004fc0904a43c901c4144c041e2a4155d7.zip
cpython-5ce83a004fc0904a43c901c4144c041e2a4155d7.tar.gz
cpython-5ce83a004fc0904a43c901c4144c041e2a4155d7.tar.bz2
Use true boolean for flag argument.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index c316906..fe3ffc7 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