parameters: (self)
docstring: Open a module in an editor window when double clicked.
docstring_summary: Open a module in an editor window when double clicked.
docstring_tokens: Open a module in an editor window when double clicked .
function: def OnDoubleClick(self):
          "Open a module in an editor window when double clicked."
          if os.path.normcase(self.file[-3:]) != ".py":
              return
          if not os.path.exists(self.file):
              return
          file_open(self.file)
function_tokens: def OnDoubleClick ( self ) : if os . path . normcase ( self . file [ - 3 : ] ) != ".py" : return if not os . path . exists ( self . file ) : return file_open ( self . file )