From f6cdd3ff687ebbf8209d793a18a042ea495c4aeb Mon Sep 17 00:00:00 2001 From: Hai Shi Date: Sun, 7 Jul 2019 10:40:07 -0500 Subject: [PATCH] bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615) --- Doc/library/ctypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 2c57cc7ec4..680703d448 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -576,7 +576,7 @@ Here is a simple example of a POINT structure, which contains two integers named >>> POINT(1, 2, 3) Traceback (most recent call last): File "", line 1, in - ValueError: too many initializers + TypeError: too many initializers >>> You can, however, build much more complicated structures. A structure can -- 2.50.1