Don't repeat superclass name

This commit is contained in:
Sybren A. Stüvel 2018-03-09 09:59:54 +01:00
parent d10264695a
commit d984870155

View File

@ -19,7 +19,7 @@ class BlendPath(bytes):
if not isinstance(path, bytes):
raise TypeError('path must be bytes or pathlib.Path, but is %r' % path)
return bytes.__new__(cls, path)
return super().__new__(cls, path)
@classmethod
def mkrelative(cls, asset_path: pathlib.Path, bfile_path: pathlib.Path) -> 'BlendPath':