'Replace unicode.splitlines(...) by a direct call to the
corresponding C-API function.'

def _handle_simple_method_unicode_splitlines(self, node, function, args, is_unbound_method):

    if (len(args) not in (1, 2)):
        self._error_wrong_arg_count('unicode.splitlines', node, args, '1    or    2')
        return node
    self._inject_bint_default_argument(node, args, 1, False)
    return self._substitute_method_call(node, function, 'PyUnicode_Splitlines', self.PyUnicode_Splitlines_func_type, 'splitlines', is_unbound_method, args)
