diff options
author | Ben McGinnes <[email protected]> | 2018-09-16 03:58:34 +0000 |
---|---|---|
committer | Ben McGinnes <[email protected]> | 2018-09-16 03:58:34 +0000 |
commit | 44c846345e91413b9d6a1f7b26f59db5b1c32433 (patch) | |
tree | a334ce7fed430e43c019409659f57040c1288894 /doc | |
parent | docs: python bindings howto (diff) | |
download | gpgme-44c846345e91413b9d6a1f7b26f59db5b1c32433.tar.gz gpgme-44c846345e91413b9d6a1f7b26f59db5b1c32433.zip |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme-python-howto.texi | 7 |
1 files changed, 5 insertions, 2 deletions
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 |