[Python-apps-commits] r220 - /packages/cython/trunk/debian/README.Debian
certik-guest at users.alioth.debian.org
certik-guest at users.alioth.debian.org
Tue Nov 13 00:05:11 UTC 2007
Author: certik-guest
Date: Tue Nov 13 00:05:11 2007
New Revision: 220
URL: http://svn.debian.org/wsvn/python-apps/?sc=1&rev=220
Log:
usage instructions improved
Modified:
packages/cython/trunk/debian/README.Debian
Modified: packages/cython/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-apps/packages/cython/trunk/debian/README.Debian?rev=220&op=diff
==============================================================================
--- packages/cython/trunk/debian/README.Debian (original)
+++ packages/cython/trunk/debian/README.Debian Tue Nov 13 00:05:11 2007
@@ -12,4 +12,12 @@
$ cython t.pyx
$ gcc -O3 -I/usr/include/python2.4/ -c -o t.o t.c
$ gcc -shared t.o -o t.so
-$
+$ python
+Python 2.4.4 (#2, Aug 16 2007, 02:03:40)
+[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
+Type "help", "copyright", "credits" or "license" for more information.
+>>> import t
+>>> dir(t)
+['__builtins__', '__doc__', '__file__', '__name__', 'msum']
+>>> t.msum(5)
+15
More information about the Python-apps-commits
mailing list