diff options
-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""" |