From 7fd0fc93518d98517791422e4d25688be18e2f29 Mon Sep 17 00:00:00 2001 From: Joon Ro Date: Sun, 7 Oct 2012 21:26:14 -0500 Subject: [PATCH] Fixed a couple of typos in setup script Made 'sources' a list of string(s), and also fixed a typo. --- docs/src/userguide/debugging.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/userguide/debugging.rst b/docs/src/userguide/debugging.rst index edc0099..70ff72c 100644 --- a/docs/src/userguide/debugging.rst +++ b/docs/src/userguide/debugging.rst @@ -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 -- 2.7.4