Commit 8f1729f7 authored by Philip Rideout's avatar Philip Rideout

Fix minor typos in the Python documentation.

parent 94680f54
...@@ -36,7 +36,7 @@ You can also construct these buffers in Python using the functions found ...@@ -36,7 +36,7 @@ You can also construct these buffers in Python using the functions found
in the generated code, and the FlatBufferBuilder class: in the generated code, and the FlatBufferBuilder class:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.py} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.py}
builder = flatbuffers.NewBuilder(0) builder = flatbuffers.Builder(0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create strings: Create strings:
...@@ -58,7 +58,7 @@ Create a table with a struct contained therein: ...@@ -58,7 +58,7 @@ Create a table with a struct contained therein:
example.MonsterAddTest4(builder, test4s) example.MonsterAddTest4(builder, test4s)
mon = example.MonsterEnd(builder) mon = example.MonsterEnd(builder)
final_flatbuffer = bulder.Output() final_flatbuffer = builder.Output()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unlike C++, Python does not support table creation functions like 'createMonster()'. Unlike C++, Python does not support table creation functions like 'createMonster()'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment