A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-December/122943.html below:

[Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

[Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPythonChris Angelico rosuav at gmail.com
Tue Dec 4 22:49:07 CET 2012
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4