update interfaces

This commit is contained in:
zixuanzh
2018-10-14 14:11:03 -04:00
parent 278a2d3b34
commit a672a5017f
3 changed files with 19 additions and 3 deletions

View File

@ -36,3 +36,12 @@ class Stream(ABC):
:return: number of bytes written
"""
pass
@abstractmethod
def close():
"""
close stream
:return: true if successful
"""
pass