diff options
author | da-woods <dw-git@d-woods.co.uk> | 2021-09-05 15:01:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 16:01:07 +0200 |
commit | 2b52df4d75d185f7ac8b4230529e7fc2428a3605 (patch) | |
tree | ccdad728547717f76eace10fbee46271818c769c | |
parent | c830db8111be7a7eb1753f4c2fa04c4dbbe3ffdc (diff) | |
download | cython-2b52df4d75d185f7ac8b4230529e7fc2428a3605.tar.gz |
Fix a couple of trivial typos (GH-4363)
See
https://github.com/cython/cython/pull/4349
https://github.com/cython/cython/commit/0574dbceef7b8ee16a9cc94091c3629dfa23133d#r54025763
-rw-r--r-- | docs/src/userguide/language_basics.rst | 2 | ||||
-rw-r--r-- | tests/errors/cpp_bool.pyx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/userguide/language_basics.rst b/docs/src/userguide/language_basics.rst index fb78dcf42..e8b79a844 100644 --- a/docs/src/userguide/language_basics.rst +++ b/docs/src/userguide/language_basics.rst @@ -1286,7 +1286,7 @@ constants within a Cython source file. .. note:: - This feature has very little use cases. Specifically, is is not a good + This feature has very little use cases. Specifically, it is not a good way to adapt code to platform and environment. Use code generation or (preferably) C compile time adaptation for this. See, for example, :ref:`verbatim_c`. diff --git a/tests/errors/cpp_bool.pyx b/tests/errors/cpp_bool.pyx index 15fa4d510..11b0d5c2f 100644 --- a/tests/errors/cpp_bool.pyx +++ b/tests/errors/cpp_bool.pyx @@ -5,7 +5,7 @@ from libcpp.string cimport string cdef foo(): cdef string field - if field: # field cannot be coerced to book + if field: # field cannot be coerced to bool pass _ERRORS = u""" |