summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-05-29 14:47:46 +0000
committerMartin v. Löwis <martin@v.loewis.de>2009-05-29 14:47:46 +0000
commite2fd38a07e53dec4ec12ccee6eef7c7dc8df23d1 (patch)
treef711b92923e61cf0de76b46da15ba13d0be3d795 /Include
parentb29447d2433e521a4d8c351fe7deec646a5b8ba9 (diff)
downloadcpython-e2fd38a07e53dec4ec12ccee6eef7c7dc8df23d1.tar.gz
Issue #6012: Add cleanup support to O& argument parsing.
Diffstat (limited to 'Include')
-rw-r--r--Include/modsupport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h
index 41f922579e..5ed34033b9 100644
--- a/Include/modsupport.h
+++ b/Include/modsupport.h
@@ -43,6 +43,8 @@ PyAPI_FUNC(int) PyModule_AddStringConstant(PyObject *, const char *, const char
#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant(m, #c, c)
#define PyModule_AddStringMacro(m, c) PyModule_AddStringConstant(m, #c, c)
+#define Py_CLEANUP_SUPPORTED 0x20000
+
#define PYTHON_API_VERSION 1013
#define PYTHON_API_STRING "1013"
/* The API version is maintained (independently from the Python version)