Пример #1
0
 def func(self, *args, **kwargs):
     args = _escape_argspec(list(args), enumerate(args), self.escape)
     _escape_argspec(kwargs, iteritems(kwargs), self.escape)
     return self.__class__(orig(self, *args, **kwargs))
Пример #2
0
 def func(self, *args, **kwargs):
     args = _escape_argspec(list(args), enumerate(args), self.escape)
     _escape_argspec(kwargs, iteritems(kwargs), self.escape)
     return self.__class__(orig(self, *args, **kwargs))