Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolas MAILLET
rpg
Commits
6f151550
Commit
6f151550
authored
Feb 03, 2021
by
Nicolas MAILLET
Browse files
Remove unnecessary __hash__ function
parent
dae3e53a
Changes
1
Hide whitespace changes
Inline
Side-by-side
rpg/enzyme.py
View file @
6f151550
...
...
@@ -68,10 +68,6 @@ class Enzyme:
return
self
.
__dict__
==
other
.
__dict__
return
False
# Needed with __eq__ to make it hashable
def
__hash__
(
self
):
return
hash
(
self
.
__dict__
.
values
())
def
write_enzyme_in_user_file
(
self
,
enz_file
=
DEFUSERENZFILE
):
"""Write enzyme to user's enzyme file as a Python function.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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