projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9b40e4
)
bpo-37513: Change ValueError to TypeError in an example in ctypes doc (GH-14615)
author
Hai Shi
<shihai1992@gmail.com>
Sun, 7 Jul 2019 15:40:07 +0000
(10:40 -0500)
committer
Xiang Zhang
<angwerzx@126.com>
Sun, 7 Jul 2019 15:40:07 +0000
(23:40 +0800)
Doc/library/ctypes.rst
patch
|
blob
|
history
diff --git
a/Doc/library/ctypes.rst
b/Doc/library/ctypes.rst
index 2c57cc7ec427a719f840357ce98c567e48b53d62..680703d4483f378256367d3a47da4cd1a32ae30e 100644
(file)
--- 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>
-
Valu
eError: too many initializers
+
Typ
eError: too many initializers
>>>
You can, however, build much more complicated structures. A structure can