Mathmaker Doc for dev
Generator of maths worksheets and their detailed solutions
Status: Alpha
Brought to you by:
nico_h
All core objects are Clonables.
Fields | Methods (provided) | Methods (must be reimplemented) |
---|---|---|
clone() |
clone() will create a new object having the same content as the original. Using clone() avoids bad surprises like loss of information when assigning or unwanted modifications happening after an assignation etc.
For instance, in __init__(), you'd better write :
self._field = arg.clone()
instead of :
self._field = arg