Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
match the names from lexical analysis a little better
  • Loading branch information
hauntsaninja committed Dec 24, 2022
commit 10d5c0d4dec038a08d9b197908ac7202ec40f5c9
6 changes: 3 additions & 3 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -658,10 +658,10 @@ are always available. They are listed here in alphabetical order.
infinity: "Infinity" | "inf"
nan: "nan"
digitpart: `digit` (["_"] `digit`)*
floatnumber: [`digitpart`] "." `digitpart` | `digitpart` ["."]
number: [`digitpart`] "." `digitpart` | `digitpart` ["."]
exponent: ("e" | "E") ["+" | "-"] `digitpart`
number: floatnumber [`exponent`]
numeric_value: `number` | `infinity` | `nan`
floatnumber: number [`exponent`]
numeric_value: `floatnumber` | `infinity` | `nan`
numeric_string: [`sign`] `numeric_value`

Case is not significant, so, for example, "inf", "Inf", "INFINITY", and
Expand Down