Issue #20326: Argument Clinic now uses a simple, unique signature to

annotate text signatures in docstrings, resulting in fewer false
positives.  "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.

Issue #20326: Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
This commit is contained in:
Larry Hastings 2014-01-28 05:00:08 -08:00
parent eecbbad89b
commit 581ee3618c
37 changed files with 497 additions and 412 deletions

View file

@ -4,7 +4,7 @@
/*[clinic input]
module _opcode
[clinic start generated code]*/
/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=117442e66eb376e6]*/
/*[clinic input]
@ -64,7 +64,7 @@ _opcode_stack_effect(PyModuleDef *module, PyObject *args)
static int
_opcode_stack_effect_impl(PyModuleDef *module, int opcode, int group_right_1, int oparg)
/*[clinic end generated code: checksum=4689140ffda2494a123ea2593fb63445fb039774]*/
/*[clinic end generated code: output=4689140ffda2494a input=056816407c3d4284]*/
{
int effect;
if (HAS_ARG(opcode)) {