- object = self
- setattr(object, "__%s" % meth.__name__, meth)
- cProfile.runctx('object.__%s(object, *args, **kwargs)' % (meth.__name__, ), globals(), locals(),
- "profile.%d" % os.getpid())
+ setattr(self, "__%s" % meth.__name__, meth)
+ cProfile.runctx(
+ 'object.__%s(object, *args, **kwargs)' % (meth.__name__, ), globals(), locals(),
+ 'profile.%d' % os.getpid())