[Python] Commit some orphan python genfile diffs. (#6325)

This commit is contained in:
David P. Sicilia
2020-12-10 19:43:40 -05:00
committed by GitHub
parent 80a745d9b0
commit a9e91116d2
13 changed files with 13 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ class ArrayTable(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsArrayTable(cls, buf, offset):
def GetRootAsArrayTable(cls, buf, offset=0):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = ArrayTable()
x.Init(buf, n + offset)