diff options
| author | Hai Shi <shihai1992@gmail.com> | 2019-07-07 10:40:07 -0500 |
|---|---|---|
| committer | Xiang Zhang <angwerzx@126.com> | 2019-07-07 23:40:07 +0800 |
| commit | f6cdd3ff687ebbf8209d793a18a042ea495c4aeb (patch) | |
| tree | 72701fff7a6bbcff0b0f53f7f7c3186355135a5c | |
| parent | a9b40e4546ca631e5ab41376b5b72e8f296f557d (diff) | |
| download | cpython-git-f6cdd3ff687ebbf8209d793a18a042ea495c4aeb.tar.gz | |
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 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 "<stdin>", line 1, in <module> - ValueError: too many initializers + TypeError: too many initializers >>> You can, however, build much more complicated structures. A structure can |
