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