Mercurial > hg > TextShaper
diff textshaper/decorator.py @ 34:88a69d587326
round1 of commands
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 02 Mar 2014 15:33:07 -0800 |
parents | fd626585c299 |
children |
line wrap: on
line diff
--- a/textshaper/decorator.py Sun Feb 23 16:48:09 2014 -0800 +++ b/textshaper/decorator.py Sun Mar 02 15:33:07 2014 -0800 @@ -16,6 +16,9 @@ self.function = function self.line_separator = line_separator + # record function information from function object + self.func_name = function.func_name + def __call__(self, text, *args, **kwargs): is_string = False if isinstance(text, string):