# HG changeset patch # User chewie@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1282585485 0 # Node ID 0bbe6e8ad9c8987f1f965d3aac31fbb47caf4e7b # Parent ea80b41c9bd772cd739683e9aecd1942f208362d - corrected example in docstring - this fixes ticket:480 diff -r ea80b41c9bd7 -r 0bbe6e8ad9c8 engine/python/fife/extensions/serializers/simplexml.py --- a/engine/python/fife/extensions/serializers/simplexml.py Sat Aug 21 15:44:03 2010 +0000 +++ b/engine/python/fife/extensions/serializers/simplexml.py Mon Aug 23 17:44:45 2010 +0000 @@ -41,8 +41,8 @@ Usage:: from fife.extensions.serializers.simplexml import SimpleXMLSerializer serializer = SimpleXMLSerializer(filename="somefile.xml") - settings.set("module_name", "variable_name", "value") - somevariable = settings.get("module_name", "variable_name", "default_value") + serializer.set("module_name", "variable_name", "value") + somevariable = serializer.get("module_name", "variable_name", "default_value") """ def __init__(self, filename=None): self._file = filename