'sendline(data)
Shorthand for ``t.send(data + t.newline)``.
Examples:
>>> def p(x): print repr(x)
>>> t = tube()
>>> t.send_raw = p
>>> t.sendline(\'hello\')
\'hello\n\'
>>> t.newline = \'\r\n\'
>>> t.sendline(\'hello\')
\'hello\r\n\''

def sendline(self, line=''):

    self.send((line + self.newline))
