diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/context.h | 2 | ||||
-rw-r--r-- | Include/internal/hamt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/context.h b/Include/context.h index f872dceee0..8b9f1292d7 100644 --- a/Include/context.h +++ b/Include/context.h @@ -65,7 +65,7 @@ PyAPI_FUNC(PyContextToken *) PyContextVar_Set( /* Reset a variable to its previous value. - Returns 0 on sucess, -1 on error. + Returns 0 on success, -1 on error. */ PyAPI_FUNC(int) PyContextVar_Reset( PyContextVar *var, PyContextToken *token); diff --git a/Include/internal/hamt.h b/Include/internal/hamt.h index 52488d0858..29ad28b1d8 100644 --- a/Include/internal/hamt.h +++ b/Include/internal/hamt.h @@ -80,7 +80,7 @@ PyHamtObject * _PyHamt_Without(PyHamtObject *o, PyObject *key); /* Find "key" in the "o" collection. Return: - - -1: An error ocurred. + - -1: An error occurred. - 0: "key" wasn't found in "o". - 1: "key" is in "o"; "*val" is set to its value (a borrowed ref). */ |