Skip to content
Snippets Groups Projects
Commit 9c57a239 authored by Martin Mareš's avatar Martin Mareš
Browse files

Objekty: Hezčí dělení na řádky

parent bdb21e1c
No related branches found
No related tags found
No related merge requests found
......@@ -4,5 +4,5 @@ class Zvire:
self.zvuk = zvuk
def __eq__(self, other):
return self.jmeno == other.jmeno and \
self.zvuk == other.zvuk
return (self.jmeno == other.jmeno and
self.zvuk == other.zvuk)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment