davidchambers/doctest — pull request #14 by davidchambers (2013-11-03 18:47:53+00:00)
Title: replace q with more correct (and more correctly named) repr function

`q` was an appropriate name when this function just quoted strings; `repr` better describes the current function.

This pull request fixes the handling of `\` and `"` in string arguments.