Remove Python 2 references from the track (#3437)

* Remove Python 2 references from the track

* Revert unintentional whitespace changes to test files

[no important files changed]
This commit is contained in:
Isaac Good
2023-07-14 05:53:39 -07:00
committed by GitHub
parent 5bb59595d9
commit 29a64a4889
11 changed files with 9 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ class CircularBuffer:
self.read_point = 0
self.write_point = 0
# (protected) helper method to support python 2/3
# (protected) helper method
def _update_buffer(self, data):
try:
self.buffer[self.write_point] = data