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. --- doc/gpgme-python-howto.texi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/gpgme-python-howto.texi') diff --git a/doc/gpgme-python-howto.texi b/doc/gpgme-python-howto.texi index d80cf37f..2fbac1f3 100644 --- a/doc/gpgme-python-howto.texi +++ b/doc/gpgme-python-howto.texi @@ -2105,7 +2105,7 @@ real 11m52.945s user 0m0.913s sys 0m0.752s -bash-4.4$ +bash-4.4$ @end example Sometime after that I imported another key and followed it with a @@ -2150,7 +2150,7 @@ Compile it: @example bash-4.4$ python setup.py build_ext --inplace -bash-4.4$ +bash-4.4$ @end example Then run it in a similar manner to @samp{keycount.py}: @@ -2180,6 +2180,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 @samp{keycount.pyx} and @samp{setup.py} files used to generate this example +have been added to the @samp{examples/howto/advanced/cython/} directory. + @node Miscellaneous work-arounds @chapter Miscellaneous work-arounds -- cgit v1.2.3