patch_modpython.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 2992
dbdf27746da5
--- a/patch_modpython.py	Sun Sep 29 15:54:10 2013 +0200
+++ b/patch_modpython.py	Sun Sep 29 18:22:08 2013 +0200
@@ -23,7 +23,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, modDir
     
@@ -44,7 +44,8 @@
 
 def initGlobals():
     """
-    Sets the values of globals that need more than a simple assignment.
+    Module function to set the values of globals that need more than a
+    simple assignment.
     """
     global modDir
 
@@ -52,9 +53,10 @@
 
 
 def main(argv):
-    """The main function of the script.
+    """
+    The main function of the script.
 
-    argv is the list of command line arguments.
+    @param argv list of command line arguments (list of strings)
     """
     import getopt
 

eric ide

mercurial