]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] Document func parameter of locale.atof (GH-18183) (GH-32262)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sat, 2 Apr 2022 22:59:41 +0000 (15:59 -0700)
committerGitHub <noreply@github.com>
Sat, 2 Apr 2022 22:59:41 +0000 (15:59 -0700)
commita930062d257b066705c9a681aa6c7f0f342dea11
tree7f8e8ff863c94bd5a66e435f82591a97392c0006
parent3031b867531009d270d5d7d3e53e739c4cba8816
[3.10] Document func parameter of locale.atof (GH-18183) (GH-32262)

The second parameter (named `func`) has been present since the `locale`
module was introduced in eef1d4e8b1, but has never been documented.

This commit updates the documentation for `locale.atof` to clarify the
behavior of the function and how the `func` parameter is used.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
(cherry picked from commit 208da6d508bb2683732151f4ae288dfc8001267c)

Co-authored-by: Kevin Locke <kevin@kevinlocke.name>
Doc/library/locale.rst