changeset 596:0bbe6e8ad9c8

- corrected example in docstring - this fixes ticket:480
author chewie@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 23 Aug 2010 17:44:45 +0000
parents ea80b41c9bd7
children d90526c3918b
files engine/python/fife/extensions/serializers/simplexml.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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