Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
74783c94
Commit
74783c94
authored
Aug 11, 2013
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve docstring for Graph.own_property()
parent
cefe49d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/graph_tool/__init__.py
src/graph_tool/__init__.py
+2
-1
No files found.
src/graph_tool/__init__.py
View file @
74783c94
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
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