mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
Fix generated EndVector. (#6385)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user