diff --git a/Doc/builtins/stdtypes.rst b/Doc/builtins/stdtypes.rst index 04a5ee2e973107..3e9035bd7f0403 100644 --- a/Doc/builtins/stdtypes.rst +++ b/Doc/builtins/stdtypes.rst @@ -6908,6 +6908,9 @@ The limit is applied to the number of digit characters in the input or output string when a non-linear conversion algorithm would be involved. Underscores and the sign are not counted towards the limit. +For integer to string conversions, the check is based on a lower bound +of the result size, so the result may slightly exceed the limit. + When an operation would exceed the limit, a :exc:`ValueError` is raised: .. doctest::