class MyProc(object):
def __init__(self, y):
self.y = y
def __call__(self, value):
# do something to value
proc = MapCompose(MyProc("foo"), MyProc("bar"))
~Rolando
> --
> You received this message because you are subscribed to the Google Groups "scrapy-users" group.
> To post to this group, send email to scrapy...@googlegroups.com.
> To unsubscribe from this group, send email to scrapy-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/scrapy-users?hl=en.
>
>