]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100428: Make float documentation more accurate (GH-100437)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 24 Dec 2022 20:15:46 +0000 (12:15 -0800)
committerGitHub <noreply@github.com>
Sat, 24 Dec 2022 20:15:46 +0000 (12:15 -0800)
commit0dea92409e291cd61135d509204f60c46f6dfc0b
treec28768534ff3b37d40b3155ac165e58b14ed05cd
parent3ea6f7fee883faf5f4cf8abfff62deb986b89d53
gh-100428: Make float documentation more accurate (GH-100437)

Previously, the grammar did not accept `float("10")`.
Also implement mdickinson's suggestion of removing the indirection.
(cherry picked from commit 2e1a9ce9890aba748a518a39d01d1ea6d623d0d9)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Doc/library/functions.rst