• Philipp von Weitershausen's avatar
    Make mapply() support objects of the form · fb26b352
    Philipp von Weitershausen authored
      class Foo:
          __call__ = SomeCallableObject()
    
    This is very useful for Zope 3 templates where this paradigm is used
    all over the place. In fact, mapply simply uses this part of Zope 3's
    __call__ finding logic. (I actually wish we could simply switch over to
    Zope 3's mapply, but the call signatures aren't the same. Sigh.)
    fb26b352
test_mapply.py 3.13 KB