remove redundant __str__ overrides

This commit is contained in:
onyx-and-iris 2023-07-26 11:32:20 +01:00
parent 1e499cd99d
commit d41ee1a12a

View File

@ -135,18 +135,15 @@ class VbanInstream(VbanStream):
class VbanAudioInstream(VbanInstream): class VbanAudioInstream(VbanInstream):
def __str__(self): """Represents a VBAN Audio Instream"""
return f"{type(self).__name__}{self._remote.kind}{self.index}"
class VbanMidiInstream(VbanInstream): class VbanMidiInstream(VbanInstream):
def __str__(self): """Represents a VBAN Midi Instream"""
return f"{type(self).__name__}{self._remote.kind}{self.index}"
class VbanTextInstream(VbanInstream): class VbanTextInstream(VbanInstream):
def __str__(self): """Represents a VBAN Text Instream"""
return f"{type(self).__name__}{self._remote.kind}{self.index}"
class VbanOutstream(VbanStream): class VbanOutstream(VbanStream):
@ -165,13 +162,11 @@ class VbanOutstream(VbanStream):
class VbanAudioOutstream(VbanOutstream): class VbanAudioOutstream(VbanOutstream):
def __str__(self): """Represents a VBAN Audio Outstream"""
return f"{type(self).__name__}{self._remote.kind}{self.index}"
class VbanMidiOutstream(VbanOutstream): class VbanMidiOutstream(VbanOutstream):
def __str__(self): """Represents a VBAN Midi Outstream"""
return f"{type(self).__name__}{self._remote.kind}{self.index}"
def _make_stream_pair(remote, kind): def _make_stream_pair(remote, kind):