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
d38840ea
Commit
d38840ea
authored
Jul 21, 2016
by
Tiago Peixoto
Browse files
Fix python 2 compatibility issue
parent
825a4a36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/__init__.py
View file @
d38840ea
...
...
@@ -1202,7 +1202,7 @@ def edge_endpoint_property(g, prop, endpoint, eprop=None):
raise
ValueError
(
"'eprop' must be of the same value type as 'prop': "
+
val_t
)
libcore
.
edge_endpoint
(
g
.
_Graph__graph
,
_prop
(
"v"
,
g
,
prop
),
_prop
(
"e"
,
g
,
eprop
),
endpoint
)
_prop
(
"e"
,
g
,
eprop
),
_to_str
(
endpoint
)
)
return
eprop
@
_limit_args
({
"direction"
:
[
"in"
,
"out"
],
"op"
:
[
"sum"
,
"prod"
,
"min"
,
"max"
]})
...
...
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