Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fja
eval
Commits
113c495f
Commit
113c495f
authored
Feb 24, 2021
by
Vladimír Štill
Browse files
lib: Add representation to hashes
parent
5f134463
Pipeline
#67238
passed with stage
in 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/common.py
View file @
113c495f
...
...
@@ -60,6 +60,12 @@ class State:
def
__hash__
(
self
):
return
hash
(
self
.
name
)
def
__str__
(
self
)
->
str
:
return
self
.
name
def
__repr__
(
self
)
->
str
:
return
f
"State(
{
self
.
name
}
)"
class
Eps
:
def
__init__
(
self
):
...
...
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