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