diff options
Diffstat (limited to 'tests/namespace_test/NamespaceC/TableInC.py')
-rw-r--r-- | tests/namespace_test/NamespaceC/TableInC.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/namespace_test/NamespaceC/TableInC.py b/tests/namespace_test/NamespaceC/TableInC.py index 8f04b52b..1abb5e36 100644 --- a/tests/namespace_test/NamespaceC/TableInC.py +++ b/tests/namespace_test/NamespaceC/TableInC.py @@ -10,7 +10,7 @@ class TableInC(object): __slots__ = ['_tab'] @classmethod - def GetRootAsTableInC(cls, buf, offset): + def GetRootAsTableInC(cls, buf, offset=0): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = TableInC() x.Init(buf, n + offset) |