diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/_warnings.c | 2 | ||||
-rw-r--r-- | Python/ast.c | 2 | ||||
-rw-r--r-- | Python/pytime.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Python/_warnings.c b/Python/_warnings.c index a9f96410c8..aa80395caa 100644 --- a/Python/_warnings.c +++ b/Python/_warnings.c @@ -391,7 +391,7 @@ call_show_warning(PyObject *category, PyObject *text, PyObject *message, /* If the source parameter is set, try to get the Python implementation. The Python implementation is able to log the traceback where the source - was allocated, whereas the C implementation doesnt. */ + was allocated, whereas the C implementation doesn't. */ show_fn = get_warnings_attr("_showwarnmsg", source != NULL); if (show_fn == NULL) { if (PyErr_Occurred()) diff --git a/Python/ast.c b/Python/ast.c index a6cc0f7e04..79cef708a0 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -4287,7 +4287,7 @@ static void fstring_shift_node_locations(node *n, int lineno, int col_offset) `parent` is the enclosing node. `n` is the node which locations are going to be fixed relative to parent. - `expr_str` is the child node's string representation, incuding braces. + `expr_str` is the child node's string representation, including braces. */ static void fstring_fix_node_location(const node *parent, node *n, char *expr_str) diff --git a/Python/pytime.c b/Python/pytime.c index 5a98d1d329..0e94131741 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -817,7 +817,7 @@ pymonotonic(_PyTime_t *tp, _Py_clock_info_t *info, int raise) } /* Check that timebase.numer and timebase.denom can be casted to - _PyTime_t. In pratice, timebase uses uint32_t, so casting cannot + _PyTime_t. In practice, timebase uses uint32_t, so casting cannot overflow. At the end, only make sure that the type is uint32_t (_PyTime_t is 64-bit long). */ assert(sizeof(timebase.numer) < sizeof(_PyTime_t)); |