Skip to content

Commit 46c9883

Browse files
committed
docs: update documentation for TokenizerError
1 parent ca32c01 commit 46c9883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/src/parser/tokenizer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,8 @@ int uint64_conflict(uint_state *self) {
18461846
*
18471847
* @param p_item Pointer to the string to validate for numeric format
18481848
*
1849-
* @return Integer 0 if the remainder of the string contains only digits,
1850-
* otherwise returns the error code for [ERROR_INVALID_CHARS].
1849+
* @return TOKENIZER_OK if the remainder of the string contains only digits,
1850+
* otherwise returns ERROR_INVALID_CHARS.
18511851
*/
18521852
static inline TokenizerError check_for_invalid_char(const char *p_item) {
18531853
while (*p_item != '\0' && isdigit_ascii(*p_item)) {

0 commit comments

Comments
 (0)