Skip to content

Commit 832d99e

Browse files
committed
chore: remove confusing comment
1 parent 4f6c9a8 commit 832d99e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/_libs/src/parser/tokenizer.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,8 +1907,6 @@ int64_t str_to_int64(const char *p_item, int *error, char tsep) {
19071907
int64_t number = strtoll(p, &endptr, 10);
19081908

19091909
if (errno == ERANGE) {
1910-
// Python's integers can handle pure overflow errors,
1911-
// but for invalid characters, try using different conversion methods.
19121910
*error = *endptr ? ERROR_INVALID_CHARS : ERROR_OVERFLOW;
19131911
errno = 0;
19141912
return 0;
@@ -1969,8 +1967,6 @@ uint64_t str_to_uint64(uint_state *state, const char *p_item, int *error,
19691967
uint64_t number = strtoull(p, &endptr, 10);
19701968

19711969
if (errno == ERANGE) {
1972-
// Python's integers can handle pure overflow errors,
1973-
// but for invalid characters, try using different conversion methods.
19741970
*error = *endptr ? ERROR_INVALID_CHARS : ERROR_OVERFLOW;
19751971
errno = 0;
19761972
return 0;

0 commit comments

Comments
 (0)