typo in docs (#198)

This commit is contained in:
Will Dudley
2022-12-08 22:33:11 +00:00
committed by GitHub
parent f427b738b5
commit 3185dec7b3

View File

@@ -9,7 +9,7 @@ class EzPickle:
>>> class Dog(Animal, EzPickle): >>> class Dog(Animal, EzPickle):
... def __init__(self, furcolor, tailkind="bushy"): ... def __init__(self, furcolor, tailkind="bushy"):
... Animal.__init__() ... Animal.__init__()
... EzPickle.__init__(furcolor, tailkind) ... EzPickle.__init__(self, furcolor, tailkind)
When this object is unpickled, a new ``Dog`` will be constructed by passing the provided furcolor and tailkind into the constructor. When this object is unpickled, a new ``Dog`` will be constructed by passing the provided furcolor and tailkind into the constructor.
However, philosophers are still not sure whether it is still the same dog. However, philosophers are still not sure whether it is still the same dog.