Improved Control-D key binding: delete character under cursor if there is text in the buffer.
Improved Control-D key binding: delete character under cursor if there is text in the buffer.

jonathanslenders/ptpython