--- a/Toolbox/Startup.py Tue Oct 15 22:03:54 2013 +0200 +++ b/Toolbox/Startup.py Fri Oct 18 23:00:41 2013 +0200 @@ -4,7 +4,7 @@ # """ -Module implementing some startup helper funcions +Module implementing some startup helper funcions. """ from __future__ import unicode_literals # __IGNORE_WARNING__ @@ -96,7 +96,8 @@ @param dirs Searchpath for the translations. (list of strings) @param tn The translation to be loaded. (string) - @return Tuple of a status flag and the loaded translator. (int, QTranslator) + @return Tuple of a status flag and the loaded translator + (int, QTranslator) """ trans = QTranslator(None) for dir in dirs: @@ -189,7 +190,8 @@ def simpleAppStartup(argv, appinfo, mwFactory, quitOnLastWindowClosed=True, app=None, raiseIt=True, installErrorHandler=False): """ - Module function to start up an application that doesn't need a specialized start up. + Module function to start up an application that doesn't need a specialized + start up. This function is used by all of eric5's helper programs. @@ -204,9 +206,11 @@ @keyparam quitOnLastWindowClosed flag indicating to quit the application, if the last window was closed (boolean) @keyparam app reference to the application object (QApplication or None) - @keyparam raiseIt flag indicating to raise the generated application window (boolean) + @keyparam raiseIt flag indicating to raise the generated application + window (boolean) @keyparam installErrorHandler flag indicating to install an error handler dialog (boolean) + @return exit result (integer) """ handleArgs(argv, appinfo) if app is None: