Description:
Most of the commands in Pynsource are wrapped in command objects, which have
an **execute** , undo and redo method.
This is a classic use of the Command design pattern.
![](https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Command_pattern.svg/1400px-
Comman…