]> 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:18:40 +0000 (12:18 -0800)
committerGitHub <noreply@github.com>
Sat, 24 Dec 2022 20:18:40 +0000 (12:18 -0800)
commitbf0f306bcd4cc6ebe7dcb32c79dd1aba0b910804
tree80ce48c85adf7dc7e5eca7f70fb4991555c70790
parent341bdd6589cf11b1d01e8928fde8c180e1a92b5a
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