Add an XXX comment about the ClassBrowser AIP.

This commit is contained in:
Guido van Rossum 2000-02-15 18:02:11 +00:00
parent 0b5b2c89d7
commit f801f3b05c
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ from TreeWidget import TreeNode, TreeItem, ScrolledCanvas
class ClassBrowser:
def __init__(self, flist, name, path):
# XXX This API should change, if the file doesn't end in ".py"
# XXX the code here is bogus!
self.name = name
self.file = os.path.join(path[0], self.name + ".py")
self.init(flist)