Commit 8f033f52 authored by Mareš Martin's avatar Mareš Martin
Browse files

Objekty: Oprava překlepů

parent fd469ed0
......@@ -132,7 +132,7 @@ False
hroch = Zvire("Hippo", "Humpf!")\\
hroch
}{%
Pes(Hippo, Humpf!)
Zvire(Hippo, Humpf!)
}
\py{%
......
......@@ -17,7 +17,7 @@ class Zvire:
return self.jmeno
def __repr__(self):
return f"Pes({self.jmeno}, {self.zvuk})"
return f"Zvire({self.jmeno}, {self.zvuk})"
def __eq__(self, other):
return self.jmeno == other.jmeno and \
......
......@@ -7,4 +7,4 @@ class Zvire:
return self.jmeno
def __repr__(self):
return f"Pes({self.jmeno}, {self.zvuk})"
return f"Zvire({self.jmeno}, {self.zvuk})"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment