diff options
author | Hai Shi <shihai1992@gmail.com> | 2019-07-07 15:40:07 (GMT) |
---|---|---|
committer | Xiang Zhang <angwerzx@126.com> | 2019-07-07 15:40:07 (GMT) |
commit | f6cdd3ff687ebbf8209d793a18a042ea495c4aeb (patch) | |
tree | 72701fff7a6bbcff0b0f53f7f7c3186355135a5c | |
parent | a9b40e4546ca631e5ab41376b5b72e8f296f557d (diff) | |
download | cpython-f6cdd3ff687ebbf8209d793a18a042ea495c4aeb.zip cpython-f6cdd3ff687ebbf8209d793a18a042ea495c4aeb.tar.gz cpython-f6cdd3ff687ebbf8209d793a18a042ea495c4aeb.tar.bz2 |
bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)
-rw-r--r-- | Doc/library/ctypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index 2c57cc7..680703d 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 "<stdin>", line 1, in <module> - ValueError: too many initializers + TypeError: too many initializers >>> You can, however, build much more complicated structures. A structure can |