mò /á¸Ec@sMdZdkZdklZd„Zd„ZedjoeiƒndS(sUXXX short summary goes here. $Id: tests.py 40218 2005-11-18 14:39:19Z andreasjung $ N(s DocTestSuitecCsdS(s³ >>> from ExtensionClass import Base >>> from MethodObject import Method >>> class foo(Method): ... def __call__(self, ob, *args, **kw): ... print 'called', ob, args, kw >>> class bar(Base): ... def __repr__(self): ... return "bar()" ... hi = foo() >>> x = bar() >>> hi = x.hi >>> hi(1,2,3,name='spam') called bar() (1, 2, 3) {'name': 'spam'} N((((t1/data/zmath/zope/lib/python/MethodObject/tests.pyttest_xxxscCstitƒfƒS(N(tunittestt TestSuitet DocTestSuite(((Rt test_suite*st__main__(t__doc__Rtzope.testing.doctestRRRt__name__tmain(RRRR((Rt?s