From 7221d723496fc11ee0bd68c00daeb4651929c7c3 Mon Sep 17 00:00:00 2001 From: hai shi Date: Sat, 6 Jul 2019 12:28:53 +0800 Subject: [PATCH] Fix a type error in ctypes.rst --- 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 2c57cc7ec427a7..680703d4483f37 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