[Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
Chris Angelico
rosuav at gmail.com
Tue Dec 4 22:49:07 CET 2012
More information about the Python-Dev mailing list
Tue Dec 4 22:49:07 CET 2012
- Previous message: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
- Next message: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Dec 4, 2012 at 9:29 AM, Larry Hastings <larry at hastings.org> wrote: > To save you a little time, here's a preview of using Clinic for > dbm.open(). The stuff at the same indent as a declaration are > options; see the "clinic.txt" in the repo above for full documentation. > > /*[clinic] >... hand-written content ... > [clinic]*/ > > ... generated content ... > /*[clinic end:eddc886e542945d959b44b483258bf038acf8872]*/ > One thing I'm not entirely clear on. Do you run Clinic on a source file and it edits that file, or is it a step in the build process? Your description of a preprocessor makes me think the latter, but the style of code (eg the checksum) suggests the former. ChrisA
- Previous message: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
- Next message: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list