summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-28 05:00:08 -0800
committerLarry Hastings <larry@hastings.org>2014-01-28 05:00:08 -0800
commit06dfef7169e62e9ef832275fbe1f072785b2e661 (patch)
treef9fab0836afc6e3d7c1511c2013d9b7b8980711d /Include
parentb580c0a65e7c82b9dd7c426f653a6a2f65c51024 (diff)
downloadcpython-06dfef7169e62e9ef832275fbe1f072785b2e661.tar.gz
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).
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Include/object.h b/Include/object.h
index 015d216993..05bffc9804 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -493,10 +493,8 @@ PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
#ifndef Py_LIMITED_API
-PyAPI_FUNC(PyObject *)
-_PyType_GetDocFromInternalDoc(const char *, const char *);
-PyAPI_FUNC(PyObject *)
-_PyType_GetTextSignatureFromInternalDoc(const char *, const char *);
+PyAPI_FUNC(PyObject *) _PyType_GetDocFromInternalDoc(const char *);
+PyAPI_FUNC(PyObject *) _PyType_GetTextSignatureFromInternalDoc(const char *);
#endif
/* Generic operations on objects */