mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Fix generated EndVector. (#6385)
This commit is contained in:
parent
1bf1ec0270
commit
4363c1d2cb
2 changed files with 3 additions and 3 deletions
|
|
@ -628,7 +628,7 @@ class PythonGenerator : public BaseGenerator {
|
|||
code += Indent + "builder.head = builder.head - len(bytes)\n";
|
||||
code += Indent + "builder.Bytes[builder.head : builder.head + len(bytes)]";
|
||||
code += " = bytes\n";
|
||||
code += Indent + "return builder.EndVector(len(bytes))\n";
|
||||
code += Indent + "return builder.EndVector()\n";
|
||||
}
|
||||
|
||||
// Get the offset of the end of a table.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue