Home | History | Annotate | Download | only in common

Lines Matching refs:self

42     def __init__(self):
43 self._contents = []
45 def write(self, msg):
47 self._contents.append(msg)
49 def get(self):
51 return self._contents
53 def reset(self):
55 self._contents = []
57 def empty(self):
59 return (len(self._contents) == 0)
61 def flush(self):
65 def __repr__(self):
66 return '<ArrayStream: ' + str(self._contents) + '>'