Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2015-02-05 14:13:40 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b746ff3972005f786c7d382beae587885a6c99c
0b746ff3
1 parent
5c9022ce
fixed typo and consequent bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
snakes/nets.py
snakes/nets.py
View file @
0b746ff
...
...
@@ -1139,7 +1139,7 @@ class MultiArc (ArcAnnotation) :
# apidoc skip
def
__hash__
(
self
)
:
# 1575269934 = hash("snakes.nets.MultiArc")
return
reduce
(
operator
.
xor
,
(
hash
(
c
)
for
f
in
self
.
_components
),
return
reduce
(
operator
.
xor
,
(
hash
(
c
)
for
c
in
self
.
_components
),
1575269934
)
def
__contains__
(
self
,
item
)
:
"""Test if an item is part of the multi-arc
...
...
Please
register
or
login
to post a comment