From 44c846345e91413b9d6a1f7b26f59db5b1c32433 Mon Sep 17 00:00:00 2001 From: Ben McGinnes Date: Sun, 16 Sep 2018 13:58:34 +1000 Subject: docs: cython sanitized * Sanitized the shell command examples of extraneous whitespace. * Removed keycount.c as sanitising it is pointless and it will be generated by Cython when the example is followed. * Regenerated the .texi version. --- lang/python/docs/gpgme-python-howto.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lang/python/docs/gpgme-python-howto.org') diff --git a/lang/python/docs/gpgme-python-howto.org b/lang/python/docs/gpgme-python-howto.org index 7b49a7be..95b19343 100644 --- a/lang/python/docs/gpgme-python-howto.org +++ b/lang/python/docs/gpgme-python-howto.org @@ -2010,7 +2010,7 @@ results: user 0m0.913s sys 0m0.752s - bash-4.4$ + bash-4.4$ #+END_SRC Sometime after that I imported another key and followed it with a @@ -2055,7 +2055,7 @@ Compile it: #+BEGIN_SRC shell bash-4.4$ python setup.py build_ext --inplace - bash-4.4$ + bash-4.4$ #+END_SRC Then run it in a similar manner to =keycount.py=: @@ -2085,6 +2085,9 @@ On the other hand it ran in nearly half the time; taking 6 minutes and 47.905 seconds to run. As opposed to the 11 minutes and 52.945 seconds which the CPython script alone took. +The =keycount.pyx= and =setup.py= files used to generate this example +have been added to the =examples/howto/advanced/cython/= directory. + * Miscellaneous work-arounds :PROPERTIES: -- cgit v1.2.3