Skip to content

Commit

Permalink
Fix spelling error introduced since codespell PR
Browse files Browse the repository at this point in the history
  • Loading branch information
da-woods committed Aug 14, 2023
1 parent bea98eb commit 6f59264
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Bugs fixed
* Many issues with the Limited API support were resolved.
Patch by Lisandro Dalcin et al. (Github issues :issue:`5549`, :issue:`5556`, :issue:`5605`)

* Some C compiler warnigns were resolved.
* Some C compiler warnings were resolved.
Patches by Matti Picus et al. (Github issues :issue:`5557`, :issue:`5555`)

* ``NULL`` could not be used as default for fused type pointer arguments.
Expand Down
2 changes: 1 addition & 1 deletion Cython/Compiler/Nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3917,7 +3917,7 @@ def generate_argument_parsing_code(self, env, code, decl_code):
if code.label_used(our_error_label):
if not code.label_used(end_label):
code.put_goto(end_label)
# This goto is just to surpress a warning that our_error_label is unused
# This goto is just to suppress a warning that our_error_label is unused
# since it's quite likely that the only use is guarded by
# CYTHON_AVOID_BORROWED_REFERENCES
code.put_goto(our_error_label)
Expand Down
2 changes: 1 addition & 1 deletion Cython/Utility/Exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject

#if __PYX_LIMITED_VERSION_HEX < 0x030780000
// If we're here, we're probably on Python <=3.7 which doesn't have code.replace.
// In this we take a lazy interpretted route (without regard to performance
// In this we take a lazy interpreted route (without regard to performance
// since it's fairly old and this is mostly just to get something working)
PyErr_Clear();
{
Expand Down
2 changes: 1 addition & 1 deletion Cython/Utility/FunctionArguments.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static int __Pyx_ParseOptionalKeywords(
&& _PyString_Eq(**name, key)) {
values[name-argnames] = value;
#if CYTHON_AVOID_BORROWED_REFS
value = NULL; // ownership transfered to values
value = NULL; // ownership transferred to values
#endif
break;
}
Expand Down

0 comments on commit 6f59264

Please sign in to comment.