(self, x)
| 27 | return len(self) == 0 |
| 28 | |
| 29 | def append(self, x): |
| 30 | if self.is_full(): |
| 31 | self.__extend() |
| 32 | self.buf[self.tail] = x |
| 33 | self.tail += 1 |
| 34 | self.tail %= self.length |
| 35 | |
| 36 | def appendleft(self, x): |
| 37 | if self.is_full(): |
no test coverage detected