Commit f6cdd3ff authored by Hai Shi's avatar Hai Shi Committed by Xiang Zhang

bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)

parent a9b40e45
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment