DataViews/CodeMetrics.py

changeset 2953
703452a2876f
parent 2302
f29e9405c851
child 2986
cd4e2cab7eb2
diff -r 94fc661a54a2 -r 703452a2876f DataViews/CodeMetrics.py
--- a/DataViews/CodeMetrics.py	Sat Sep 28 17:40:42 2013 +0200
+++ b/DataViews/CodeMetrics.py	Sat Sep 28 19:06:25 2013 +0200
@@ -38,7 +38,7 @@
         """
         Constructor
         
-        @param **kw list of key, value pairs
+        @keyparam **kw list of key, value pairs
         """
         self.__dict__.update(kw)
 
@@ -126,6 +126,7 @@
         Public method used to decrement the indentation level.
         
         @param tok the token to be processed (Token)
+        @exception ValueError raised to indicate an invalid indentation level
         """
         self.indent_level -= 1
         if self.indent_level < 0:
@@ -259,10 +260,10 @@
 
 def main():
     """
-    Modules main function used when called as a script.
+    Module main function used when called as a script.
     
-    This function simply loops over all files given on the commandline
-    and collects the individual and overall source code statistics.
+    Loop over all files given on the command line and collect the individual
+    and overall source code statistics.
     """
     import sys
     

eric ide

mercurial