Skip to content

Commit

Permalink
fix: inheriting from object not needed in python3
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Apr 10, 2022
1 parent bad6dc9 commit b7dd7a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pynbs/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class Header:
loop_start: int = 0


class File(object):
class File:
def __init__(self, header, notes, layers, instruments):
self.header = header
self.notes = notes
Expand Down Expand Up @@ -119,7 +119,7 @@ def __iter__(self):
yield current_tick, chord


class Parser(object):
class Parser:
def __init__(self, buff):
self.buffer = buff

Expand Down Expand Up @@ -217,7 +217,7 @@ def parse_instruments(self, version):
yield Instrument(i, name, sound_file, pitch, press_key)


class Writer(object):
class Writer:
def __init__(self, buff):
self.buffer = buff

Expand Down

0 comments on commit b7dd7a2

Please sign in to comment.