Internal: send one command to the server (through _putline()). The `line` must be a unicode string.
(self, line)
| 451 | self.file.flush() |
| 452 | |
| 453 | def _putcmd(self, line): |
| 454 | """Internal: send one command to the server (through _putline()). |
| 455 | The `line` must be a unicode string.""" |
| 456 | if self.debugging: print('*cmd*', repr(line)) |
| 457 | line = line.encode(self.encoding, self.errors) |
| 458 | self._putline(line) |
| 459 | |
| 460 | def _getline(self, strip_crlf=True): |
| 461 | """Internal: return one line from the server, stripping _CRLF. |