Commit 74783c94 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Improve docstring for Graph.own_property()

parent cefe49d5
......@@ -1457,7 +1457,8 @@ class Graph(object):
doc="Alias to :attr:`~Graph.graph_properties`.")
def own_property(self, prop):
"""'Own' property map 'prop', which may belong to another graph."""
"""Return a version of the property map 'prop' (possibly belonging to
another graph) which is owned by the current graph."""
return PropertyMap(prop._PropertyMap__map, self, prop.key_type())
def list_properties(self):
Supports Markdown
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