From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 7 Jul 2019 15:59:14 +0000 (-0700) Subject: bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615) X-Git-Tag: v2.7.17rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14689%2Fhead;p=thirdparty%2FPython%2Fcpython.git bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615) (cherry picked from commit f6cdd3ff687ebbf8209d793a18a042ea495c4aeb) Co-authored-by: Hai Shi --- diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index df9ccbf39084..6a5299145f95 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -565,7 +565,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