diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-21 13:42:28 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-21 13:42:28 +0000 |
commit | 657e9caeeac2b54250d697b83f10c2f106353538 (patch) | |
tree | a4f3c89e363d1db0e0afef7d36f963f657f03714 /Include/sysmodule.h | |
parent | b2729946a60b7601b06a8f75cb120698e47f5f00 (diff) | |
download | cpython-657e9caeeac2b54250d697b83f10c2f106353538.tar.gz |
Issue #10089: Add support for arbitrary -X options on the command-line.
They can be retrieved through a new attribute `sys._xoptions`.
Diffstat (limited to 'Include/sysmodule.h')
-rw-r--r-- | Include/sysmodule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/sysmodule.h b/Include/sysmodule.h index e43f378f6e..c00901b179 100644 --- a/Include/sysmodule.h +++ b/Include/sysmodule.h @@ -27,6 +27,9 @@ PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); PyAPI_FUNC(int) PySys_HasWarnOptions(void); +PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); +PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); + #ifdef __cplusplus } #endif |