(function_name, attribute, word, negation=False)
| 1074 | |
| 1075 | @staticmethod |
| 1076 | def _prepare_function(function_name, attribute, word, negation=False): |
| 1077 | negation = 'not' if negation else '' |
| 1078 | attrs = (negation, attribute, function_name, word) |
| 1079 | return "{} {}({}, {})".format(negation, function_name, attribute, word).strip(), attrs |
| 1080 | |
| 1081 | @fluent |
| 1082 | def function(self, function_name, word): |