[Python] Fix inconsistent creator function naming in generated code (#8791) (#8792)

This commit is contained in:
peter-soos 2025-11-29 22:48:53 +01:00 committed by GitHub
parent 4c47f4c11e
commit 4b823b1b98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1239,7 +1239,7 @@ class PythonGenerator : public BaseGenerator {
auto& code = *code_ptr;
code += "\n";
code += "def Create" + namer_.Type(struct_def);
code += "def Create" + namer_.Function(struct_def);
code += "(builder";
}