diff options
| author | Georg Brandl <georg@python.org> | 2009-06-01 17:23:51 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-06-01 17:23:51 +0000 |
| commit | 5ce83a004fc0904a43c901c4144c041e2a4155d7 (patch) | |
| tree | fa75d379aef9eb7eb0f8529202b8a77842d8d6cb | |
| parent | 74b7e44d7dbb57068788330dd4070dd502f5f945 (diff) | |
| download | cpython-git-5ce83a004fc0904a43c901c4144c041e2a4155d7.tar.gz | |
Use true boolean for flag argument.
| -rw-r--r-- | Lib/inspect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py index c316906dd5..fe3ffc7de5 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 |
