DOC: added docstring for Pulse, edited docstring for KeyPress