(self)
return os.path.normcase(self.file[-3:]) == ".py"
Return True if Python (.py) file.
Return True if Python (.py) file.
Return True if Python ( . py ) file .
def IsExpandable(self):
        "Return True if Python (.py) file."
        return os.path.normcase(self.file[-3:]) == ".py"
def IsExpandable ( self ) : return os . path . normcase ( self . file [ - 3 : ] ) == ".py"