Move Repl.clean_object and Repl.restore_object into a context manager.
Move Repl.clean_object and Repl.restore_object into a context manager.

getpydocspec() now uses the __name__ attribute of the function for
matching the name found in the docstring.

5monkeys/bpython