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.
This commit is contained in:
Ben McGinnes 2018-09-16 13:58:34 +10:00
parent 61c08f7435
commit 44c846345e
3 changed files with 10 additions and 3001 deletions

View File

@ -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

View File

@ -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:

File diff suppressed because it is too large Load Diff