adding missing documentation to strconv.parse_int and strconv.parse_uint

parse_int and parse_uint where missing documentation for the optional parameter `n: ^int` to store the length of the parsed substring
This commit is contained in:
BadWolfuu
2026-05-18 14:01:31 +02:00
committed by GitHub
parent 97482f53f4
commit 37aaf4519c

View File

@@ -342,6 +342,7 @@ Parses a signed integer value from the input string, using the specified base or
- base: The base of the number system to use for parsing (default: 0)
- If base is 0, it will be inferred based on the prefix in the input string (e.g. '0x' for hexadecimal)
- If base is not 0, it will be used for parsing regardless of any prefix in the input string
- n: An optional pointer to an int to store the length of the parsed substring (default: nil)
Example:
@@ -385,6 +386,7 @@ Parses an unsigned integer value from the input string, using the specified base
- base: The base of the number system to use for parsing (default: 0, inferred)
- If base is 0, it will be inferred based on the prefix in the input string (e.g. '0x' for hexadecimal)
- If base is not 0, it will be used for parsing regardless of any prefix in the input string
- n: An optional pointer to an int to store the length of the parsed substring (default: nil)
Example: