mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
New == syntax
This commit is contained in:
parent
4d8e859e8f
commit
bdfcfccbe5
73 changed files with 419 additions and 391 deletions
|
@ -25,7 +25,7 @@ class DirList(VSplit):
|
|||
if path.isdir(path.join(dirname, name)):
|
||||
fullname = path.join(dirname, name)
|
||||
btn = SubdirButton().definetext(self, fullname)
|
||||
elif name[-3:] = '.py':
|
||||
elif name[-3:] == '.py':
|
||||
btn = ModuleButton().definetext(self, name)
|
||||
else:
|
||||
btn = FileButton().definetext(self, name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue