[Python-checkins] r73107 - python/branches/py3k/Lib/inspect.py

georg.brandl python-checkins at python.org
Mon Jun 1 19:23:51 CEST 2009


Author: georg.brandl
Date: Mon Jun  1 19:23:51 2009
New Revision: 73107

Log:
Use true boolean for flag argument.

Modified:
   python/branches/py3k/Lib/inspect.py

Modified: python/branches/py3k/Lib/inspect.py
==============================================================================
--- python/branches/py3k/Lib/inspect.py	(original)
+++ python/branches/py3k/Lib/inspect.py	Mon Jun  1 19:23:51 2009
@@ -704,7 +704,7 @@
             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


More information about the Python-checkins mailing list