52
52
class Serializer(object):
53
53
"""Abstract object serialize/deserialize"""
54
55
def write_inventory(self, inv, f):
55
56
"""Write inventory to a file"""
59
59
def write_inventory_to_string(self, inv):
62
62
def read_inventory_from_string(self, xml_string):