Fix a bug about wrong order of function arguments (#1889)

This commit is contained in:
Jingxuan He 2022-06-16 21:46:51 +02:00 committed by GitHub
commit 566e98bc78
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])