mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 07:27:27 +00:00
* Fix issue #4389, if field is ommitted the return type is the same for python generator * Fix issue #4389, bytes is returned when field is omitted * Fix issue #4389, added generated python code after generator modification
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
971a68110e
commit
5e4739184f
@@ -23,7 +23,7 @@ class Stat(object):
|
||||
o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
|
||||
if o != 0:
|
||||
return self._tab.String(o + self._tab.Pos)
|
||||
return ""
|
||||
return bytes()
|
||||
|
||||
# Stat
|
||||
def Val(self):
|
||||
|
||||
Reference in New Issue
Block a user