summaryrefslogtreecommitdiff
path: root/Lib/test/test_enum.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-24 21:39:42 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-24 21:39:42 +0200
commit3ca98abc11c8c7b4c9224847bc81a3b3c1e4b32d (patch)
tree11b38124b57b4adf04ad61ef21d01a1d7e33d20e /Lib/test/test_enum.py
parentf7504c0ffb2450a20dba1f77f8e784d6c5f7200a (diff)
parent360d836601f0c7687886b81805803ebdbd67d264 (diff)
downloadcpython-3ca98abc11c8c7b4c9224847bc81a3b3c1e4b32d.tar.gz
Issue #29083: Fixed the declaration of some public API functions.
PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue() were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is defined.
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r--Lib/test/test_enum.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py
index e97ef947b1..4239412834 100644
--- a/Lib/test/test_enum.py
+++ b/Lib/test/test_enum.py
@@ -2325,6 +2325,8 @@ expected_help_output_with_docs = """\
Help on class Color in module %s:
class Color(enum.Enum)
+ | Color(value, names=None, *, module=None, qualname=None, type=None, start=1)
+ |\x20\x20
| An enumeration.
|\x20\x20
| Method resolution order:
@@ -2362,6 +2364,8 @@ expected_help_output_without_docs = """\
Help on class Color in module %s:
class Color(enum.Enum)
+ | Color(value, names=None, *, module=None, qualname=None, type=None, start=1)
+ |\x20\x20
| Method resolution order:
| Color
| enum.Enum