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
2012-02-28 11:56:36 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d287e063cab286fc6cce5246948661720d1d46ef
d287e063
1 parent
25f1cba8
fixed typo in snakes.nets (Lukasz Fronc)
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 @
d287e06
...
...
@@ -2888,7 +2888,7 @@ class PetriNet (object) :
# 1844414626 = hash("snakes.nets.PetriNet")
return
reduce
(
operator
.
xor
,
(
hash
(
self
.
name
),)
+
tuple
(
hash
(
n
)
for
i
in
self
.
_node
),
1844414626
)
+
tuple
(
hash
(
n
)
for
n
in
self
.
_node
),
1844414626
)
def
copy
(
self
,
name
=
None
)
:
"""Return a complete copy of the net, including places,
transitions, arcs and declarations.
...
...
Please
register
or
login
to post a comment