mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Use true boolean for flag argument.
This commit is contained in:
parent
74b7e44d7d
commit
5ce83a004f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue