eric5config.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2965
d133c7edd88a
child 3145
a9de05d4a22f
--- a/eric5config.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/eric5config.py	Fri Oct 18 23:00:41 2013 +0200
@@ -4,7 +4,7 @@
 #
 
 """
-Module containing the default configuration of the eric5 installation
+Module containing the default configuration of the eric5 installation.
 """
 
 from __future__ import unicode_literals    # __IGNORE_WARNING__
@@ -33,14 +33,17 @@
 
 
 def getConfig(name):
-    '''
+    """
     Module function to get a configuration value.
 
     @param name the name of the configuration value (string).
-    '''
+    @return requested config value
+    @exception AttributeError raised to indicate an invalid config entry
+    """
     try:
         return _pkg_config[name]
     except KeyError:
         pass
 
-    raise AttributeError('"{0}" is not a valid configuration value'.format(name))
+    raise AttributeError(
+        '"{0}" is not a valid configuration value'.format(name))

eric ide

mercurial