uninstall.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3019
7912530a33e2
child 3060
5883ce99ee12
--- a/uninstall.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/uninstall.py	Fri Nov 01 15:48:48 2013 +0100
@@ -31,6 +31,8 @@
 def exit(rcode=0):
     """
     Exit the uninstall script.
+    
+    @param rcode result code to report back (integer)
     """
     # restore the local eric5config.py
     if os.path.exists("eric5config.py.orig"):
@@ -43,7 +45,7 @@
     """
     Display a usage message and exit.
 
-    rcode is the return code passed back to the calling process.
+    @param rcode return code passed back to the calling process (integer)
     """
     global progName
 
@@ -67,6 +69,10 @@
 def wrapperName(dname, wfile):
     """
     Create the platform specific name for the wrapper script.
+    
+    @param dname name of the directory to place the wrapper into
+    @param wfile basename (without extension) of the wrapper script
+    @return the name of the wrapper script
     """
     if sys.platform.startswith("win"):
         wname = dname + "\\" + wfile + ".bat"
@@ -168,7 +174,7 @@
     """
     The main function of the script.
 
-    argv is the list of command line arguments.
+    @param argv list of command line arguments
     """
     import getopt
 

eric ide

mercurial