summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-06 08:51:07 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-06 08:51:07 (GMT)
commit38552a66611d24a32dd7cdbe56e7a911606e1c8b (patch)
tree016d7c6add820c72ca1289f81dfb9706357d81c2 /Doc
parent55f4d56091c92f64bef61bed23d993441f5ed78e (diff)
parentb33c6eb6400c8ecdb33a2a0f0f81f9d2c282cff5 (diff)
downloadcpython-38552a66611d24a32dd7cdbe56e7a911606e1c8b.zip
cpython-38552a66611d24a32dd7cdbe56e7a911606e1c8b.tar.gz
cpython-38552a66611d24a32dd7cdbe56e7a911606e1c8b.tar.bz2
merge with 3.3
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ctypes.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
index 33ff12b..a6c918d 100644
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -198,7 +198,9 @@ argument values::
>>>
There are, however, enough ways to crash Python with :mod:`ctypes`, so you
-should be careful anyway.
+should be careful anyway. The :mod:`faulthandler` module can be helpful in
+debugging crashes (e.g. from segmentation faults produced by erroneous C library
+calls).
``None``, integers, bytes objects and (unicode) strings are the only native
Python objects that can directly be used as parameters in these function calls.