mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)
This commit is contained in:
parent
a9b40e4546
commit
f6cdd3ff68
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue