Fix a bug about wrong order of function arguments

This commit is contained in:
Jingxuan He 2022-06-15 18:29:22 +02:00 committed by GitHub
commit 66f0f391ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,7 @@ class SeekPoint(tuple):
"""
def __new__(cls, first_sample, byte_offset, num_samples):
return super(cls, SeekPoint).__new__(
return super(SeekPoint, cls).__new__(
cls, (first_sample, byte_offset, num_samples))
first_sample = property(lambda self: self[0])