Ejemplo n.º 1
0
		def __init__(self, cb):
			self.cb = cb

			def listhook(obj):
				return self.cb(obj)
			self.listhook = listhook

			Unpacker.__init__(self, list_hook=self.listhook)
Ejemplo n.º 2
0
        def __init__(self, cb):
            self.cb = cb

            def listhook(obj):
                return self.cb(obj)

            self.listhook = listhook

            Unpacker.__init__(self, list_hook=self.listhook)
Ejemplo n.º 3
0
	def __init__(self):
		Unpacker.__init__(self, object_hook=self.hook)
Ejemplo n.º 4
0
 def __init__(self):
     Unpacker.__init__(self, object_hook=self.hook, use_list=True)
Ejemplo n.º 5
0
	def __init__(self):
		Unpacker.__init__(self, object_hook=self.hook, use_list=True)
Ejemplo n.º 6
0
 def __init__(self):
     Unpacker.__init__(self, object_hook=self.hook)