Skip to content

Commit

Permalink
Fixed a couple of typos in setup script
Browse files Browse the repository at this point in the history
Made 'sources' a list of string(s), and also fixed a typo.
  • Loading branch information
Joon Ro committed Oct 8, 2012
1 parent 9788182 commit 7fd0fc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/userguide/debugging.rst
Expand Up @@ -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
Expand Down

0 comments on commit 7fd0fc9

Please sign in to comment.