Commit 99dd817e authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix typo in quickstart.rst

parent d4980abf
......@@ -454,8 +454,12 @@ attributes:
.. doctest::
>>> vprop = g.new_vertex_properties("double")
>>> g.vp.foo = vprop # equivalent to g.vp["foo"] = vprop
>>> vprop = g.new_vertex_property("double")
>>> g.vp.foo = vprop # equivalent to g.vertex_properties["foo"] = vprop
>>> v = g.vertex(0)
>>> g.vp.foo[v] = 3.14
>>> print(g.vp.foo[v])
3.14
.. _sec_graph_io:
......
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