summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-26 04:43:29 (GMT)
committerLarry Hastings <larry@hastings.org>2014-01-26 04:43:29 (GMT)
commitc20472640cff9f2cb513b1443897814d0328bea1 (patch)
treee6ad163527b806cc65761d0f720c4202086caf40 /Include
parent9ad116bcd05cf9b98f544916633641933a0db95c (diff)
downloadcpython-c20472640cff9f2cb513b1443897814d0328bea1.zip
cpython-c20472640cff9f2cb513b1443897814d0328bea1.tar.gz
cpython-c20472640cff9f2cb513b1443897814d0328bea1.tar.bz2
Issue #20390: Small fixes and improvements for Argument Clinic.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index a09421b..015d216 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -492,8 +492,12 @@ PyAPI_FUNC(PyTypeObject *) _PyType_CalculateMetaclass(PyTypeObject *, PyObject *
PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
-PyAPI_FUNC(PyObject *) _PyType_GetDocFromInternalDoc(const char *name, const char *internal_doc);
-PyAPI_FUNC(PyObject *) _PyType_GetTextSignatureFromInternalDoc(const char *name, const char *internal_doc);
+#ifndef Py_LIMITED_API
+PyAPI_FUNC(PyObject *)
+_PyType_GetDocFromInternalDoc(const char *, const char *);
+PyAPI_FUNC(PyObject *)
+_PyType_GetTextSignatureFromInternalDoc(const char *, const char *);
+#endif
/* Generic operations on objects */
struct _Py_Identifier;