mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-15 16:57:29 +00:00
[Python] Commit some orphan python genfile diffs. (#6325)
This commit is contained in:
@@ -10,7 +10,7 @@ class Monster(object):
|
||||
__slots__ = ['_tab']
|
||||
|
||||
@classmethod
|
||||
def GetRootAsMonster(cls, buf, offset):
|
||||
def GetRootAsMonster(cls, buf, offset=0):
|
||||
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
|
||||
x = Monster()
|
||||
x.Init(buf, n + offset)
|
||||
|
||||
Reference in New Issue
Block a user