[Python-Dev] Changing Clinic's output (original) (raw)

Larry Hastings larry at hastings.org
Wed Jan 15 05:31:32 CET 2014


On 01/14/2014 12:22 PM, Larry Hastings wrote:

On 01/11/2014 07:35 PM, Larry Hastings wrote: I've uploaded a prototype here:

https://bitbucket.org/larry/python-clinic-buffer [...] I've created a new repository containing the "concrete examples of the various options" that Barry proposed above. You may find it here: https://bitbucket.org/larry/clinic-buffer-samples/src

I've added a fourth feature to the prototype:

 set line_prefix

lets you set a string that is prepended to every line of code generated by Clinic. Documentation is in the text file in the root.

I also updated the clinic-buffer-samples repository to match. There's now a "prefixes" subdirectory, with copies of all the samples adding a per-line prefix of "/clinic/ ".

Does that make Clinic any easier to swallow for anybody?

Cheers,

//arry/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140114/9925885c/attachment.html>



More information about the Python-Dev mailing list