remove StatefulEncoder.push() return type

This commit is contained in:
jesopo 2020-03-11 16:31:26 +00:00
parent 8773240c0c
commit 22be792bc0
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class StatefulEncoder(object):
def pending(self) -> bytes:
return self._buffer
def push(self, line: Line) -> bytes:
def push(self, line: Line):
self._buffer += f"{line.format()}\r\n".encode("utf8")
self._buffered_lines.append(line)
def pop(self, byte_count: int):