summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-07-19 08:06:02 (GMT)
committerGitHub <noreply@github.com>2024-07-19 08:06:02 (GMT)
commit1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356 (patch)
treedf3bcce3fcd01a8230304dad9431cfab8ef406cb /Parser
parent420d94312824825a18fa1fd9a36773626a54d97a (diff)
downloadcpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.zip
cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.tar.gz
cpython-1a0c7b9ba48a2dffb70bb0c7327abae1d3e87356.tar.bz2
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/lexer/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/lexer/lexer.c b/Parser/lexer/lexer.c
index 93b5fbd..9ca3bd6 100644
--- a/Parser/lexer/lexer.c
+++ b/Parser/lexer/lexer.c
@@ -884,7 +884,7 @@ tok_get_normal_mode(struct tok_state *tok, tokenizer_mode* current_tok, struct t
return MAKE_TOKEN(ERRORTOKEN);
}
{
- /* Accept floating point numbers. */
+ /* Accept floating-point numbers. */
if (c == '.') {
c = tok_nextc(tok);
fraction: