Fixed a couple of typos in setup script
authorJoon Ro <joonpyro@gmail.com>
Mon, 8 Oct 2012 02:26:14 +0000 (21:26 -0500)
committerJoon Ro <joonpyro@gmail.com>
Mon, 8 Oct 2012 02:26:14 +0000 (21:26 -0500)
Made 'sources' a list of string(s), and also fixed a typo.

docs/src/userguide/debugging.rst

index edc0099..70ff72c 100644 (file)
@@ -20,8 +20,8 @@ script by passing ``pyrex_gdb=True`` to your Cython Extenion class::
 
     from Cython.Distutils import extension
 
-    ext = extension.Extension('source', 'source.pyx', pyrex_gdb=True)
-    setup(..., ext_modules=[ext)]
+    ext = extension.Extension('source', ['source.pyx'], pyrex_gdb=True)
+    setup(..., ext_modules=[ext])
 
 With this approach debug information can be enabled on a per-module basis.
 Another (easier) way is to simply pass the ``--pyrex-gdb`` flag as a command