Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
449fca9e
Commit
449fca9e
authored
Jun 22, 2015
by
Tiago Peixoto
Browse files
Fix example in quickstart.rst
parent
85f11ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/quickstart.rst
View file @
449fca9e
...
...
@@ -394,7 +394,7 @@ accessed by vertex or edge descriptors, or the graph itself, as such:
eprop_dict = g.new_edge_property("object") # Arbitrary python object.
eprop_dict[g.edges().next()] = {"foo": "bar", "gnu": 42} # In this case, a dict.
gprop_bool = g.new_
edge
_property("bool") # Boolean
gprop_bool = g.new_
graph
_property("bool") # Boolean
gprop_bool[g] = True
Property maps with scalar value types can also be accessed as a
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment