Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
stuartarchibald committed Aug 3, 2020
1 parent 07415eb commit 19ce816
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions numba/_helperlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,8 @@ void traceback_add_loc(PyObject *loc) {
}

/**
* Reraise current active exception.
* Called internall by process_raise() when *exc* is None.
* Re-raise the current active exception.
* Called internal by process_raise() when *exc* is None.
*/
static
int reraise_exc_is_none() {
Expand Down Expand Up @@ -884,7 +884,7 @@ int reraise_exc_is_none() {
}

/*
* Set exception set given the Exception type and the constructor argument.
* Set exception given the Exception type and the constructor argument.
* Equivalent to ``raise exc(value)``.
* PyExceptionClass_Check(exc) must be True.
* value can be NULL.
Expand Down Expand Up @@ -912,7 +912,7 @@ int process_exception_class(PyObject *exc, PyObject *value) {

/*
* Internal routine to process exceptions.
* exc cannot be NULL. It can be a None, Exception type, or Exception instance
* exc cannot be NULL. It can be a None, Exception type, or Exception instance.
* value can be NULL for absent, or any PyObject valid for the exception.
*/
static
Expand Down

0 comments on commit 19ce816

Please sign in to comment.