summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-02-01 16:01:07 -0800
committerCharles Harris <charlesr.harris@gmail.com>2013-02-01 16:01:07 -0800
commit45920aafb53ca9db3c72db5e385e0dda07c3e04b (patch)
treed513b9449c9687bfaaf03a0a638cb5189c7fcc00
parent4600b2fe1d7ebafef98858572b603f2a8d19db4d (diff)
parent9118887ccb0e62d8814e31a80e1e6caf0e99eb3c (diff)
downloadnumpy-45920aafb53ca9db3c72db5e385e0dda07c3e04b.tar.gz
Merge pull request #2960 from esc/doc/fix/ctypeslib
DOC/FIX: fix example in ctypeslib module documentation
-rw-r--r--numpy/ctypeslib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ctypeslib.py b/numpy/ctypeslib.py
index 367b08f49..c11900947 100644
--- a/numpy/ctypeslib.py
+++ b/numpy/ctypeslib.py
@@ -40,8 +40,8 @@ in-place. For example::
We wrap it using:
->>> lib.foo_func.restype = None #doctest: +SKIP
->>> lib.foo.argtypes = [array_1d_double, c_int] #doctest: +SKIP
+>>> _lib.foo_func.restype = None #doctest: +SKIP
+>>> _lib.foo_func.argtypes = [array_1d_double, c_int] #doctest: +SKIP
Then, we're ready to call ``foo_func``: