summaryrefslogtreecommitdiff
path: root/Include/object.h
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-25 20:43:29 -0800
committerLarry Hastings <larry@hastings.org>2014-01-25 20:43:29 -0800
commitc20472640cff9f2cb513b1443897814d0328bea1 (patch)
treee6ad163527b806cc65761d0f720c4202086caf40 /Include/object.h
parent9ad116bcd05cf9b98f544916633641933a0db95c (diff)
downloadcpython-git-c20472640cff9f2cb513b1443897814d0328bea1.tar.gz
Issue #20390: Small fixes and improvements for Argument Clinic.
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index a09421bd42..015d216993 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;