cpython-extension.git
11 years agospammify.c: Replace spam_doc with NULL
W. Trevor King [Wed, 17 Apr 2013 15:42:54 +0000 (11:42 -0400)]
spammify.c: Replace spam_doc with NULL

We're not interested in setting a module docstring here.

11 years agosetup.py: Add basic setup.py for a C extension
W. Trevor King [Wed, 17 Apr 2013 15:41:05 +0000 (11:41 -0400)]
setup.py: Add basic setup.py for a C extension

Tweaked from http://docs.python.org/3/extending/building.html#building

11 years agospammify.c: Add the basic extension code
W. Trevor King [Wed, 17 Apr 2013 15:39:29 +0000 (11:39 -0400)]
spammify.c: Add the basic extension code

From http://docs.python.org/3/extending/extending.html