2424
2525You should have received a copy of the GNU General Public License
2626along with this program; if not, write to the Free Software
27- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
27+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
282802110-1301 USA
2929"""
3030
@@ -57,14 +57,14 @@ def get_platform_image_viewer():
5757
5858class Configuration (object ):
5959 """Class representing igraph configuration details.
60-
60+
6161 General ideas
6262 =============
6363
6464 The configuration of igraph is stored in the form of name-value pairs.
6565 This object provides an interface to the configuration data using the
6666 syntax known from dict:
67-
67+
6868 >>> c=Configuration()
6969 >>> c["general.verbose"] = True
7070 >>> print c["general.verbose"]
@@ -154,7 +154,7 @@ class Configuration(object):
154154
155155 Shell settings
156156 --------------
157-
157+
158158 These settings specify options for external environments in which igraph is
159159 embedded (e.g., IPython and its Qt console). These settings are stored in
160160 section C{shell}.
@@ -177,7 +177,7 @@ def __init__(self):
177177 @staticmethod
178178 def setboolean (obj , section , key , value ):
179179 """Sets a boolean value in the given configuration object.
180-
180+
181181 @param obj: a configuration object
182182 @param section: the section of the value to be set
183183 @param key: the key of the value to be set
@@ -198,7 +198,7 @@ def setboolean(obj, section, key, value):
198198 @staticmethod
199199 def setint (obj , section , key , value ):
200200 """Sets an integer value in the given configuration object.
201-
201+
202202 @param obj: a configuration object
203203 @param section: the section of the value to be set
204204 @param key: the key of the value to be set
@@ -299,7 +299,7 @@ def _get(self, section, key):
299299 @staticmethod
300300 def _item_to_section_key (item ):
301301 """Converts an item description to a section-key pair.
302-
302+
303303 @param item: the item to be converted
304304 @return: if C{item} contains a period (C{.}), it is splitted into two parts
305305 at the first period, then the two parts are returned, so the part before
@@ -372,7 +372,7 @@ def has_key(self, item):
372372 else :
373373 section , key = "general" , item
374374 return self ._config .has_option (section , key )
375-
375+
376376 def load (self , stream = None ):
377377 """Loads the configuration from the given file.
378378
0 commit comments