@@ -388,10 +388,10 @@ Names (identifiers and keywords)
388388
389389Names are composed of the following characters:
390390
391- * Uppercase and lowercase letters (``A-Z `` and ``a-z ``)
392- * The underscore (``_ ``)
393- * Digits (``0 `` through ``9 ``), which cannot appear as the first character
394- * Non -ASCII characters. Valid names may only contain "letter-like" and
391+ * uppercase and lowercase letters (``A-Z `` and ``a-z ``),
392+ * the underscore (``_ ``),
393+ * digits (``0 `` through ``9 ``), which cannot appear as the first character, and
394+ * non -ASCII characters. Valid names may only contain "letter-like" and
395395 "digit-like" characters; see :ref: `lexical-names-nonascii ` for details.
396396
397397Names must contain at least one character, but have no upper length limit.
@@ -403,8 +403,8 @@ Formally, names are described by the following lexical definitions:
403403 :group: python-grammar
404404
405405 NAME: `name_start ` `name_continue`*
406- name_start: "a".."z" | "A".."Z" | "_" | <non-ASCII character>
407- name_continue: name_start | "0".."9"
406+ name_start: "a"... "z" | "A". .."Z" | "_" | <non-ASCII character>
407+ name_continue: name_start | "0"... "9"
408408 identifier: <`NAME `, except keywords>
409409
410410Note that not all names matched by this grammar are valid; see
0 commit comments