Skip to content

Commit a7af606

Browse files
Update stdtypes.rst
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent abe94cd commit a7af606

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5946,9 +5946,8 @@ The limit is applied to the number of digit characters in the input or output
59465946
string when a non-linear conversion algorithm would be involved. Underscores
59475947
and the sign are not counted towards the limit.
59485948

5949-
For string to integer conversions, the exact digit count is known and checked.
5950-
For integer to string conversions, the limit is applied to an estimated upper
5951-
bound of the result size to avoid the expensive conversion operation.
5949+
For integer to string conversions, the limit is applied to an estimated
5950+
size of the result.
59525951

59535952
When an operation would exceed the limit, a :exc:`ValueError` is raised:
59545953

0 commit comments

Comments
 (0)