Skip to content

Commit aa6684b

Browse files
committed
Remove comments
1 parent 6929a4d commit aa6684b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Objects/bytesobject.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2534,15 +2534,13 @@ _PyBytes_FromHex(PyObject *string, int use_bytearray)
25342534
break;
25352535
}
25362536

2537-
/* Check first hex digit */
25382537
top = _PyLong_DigitValue[*str];
25392538
if (top >= 16) {
25402539
invalid_char = str - PyUnicode_1BYTE_DATA(string);
25412540
goto error;
25422541
}
25432542
str++;
25442543

2545-
/* Check second hex digit */
25462544
bot = _PyLong_DigitValue[*str];
25472545
if (bot >= 16) {
25482546
invalid_char = str - PyUnicode_1BYTE_DATA(string);

0 commit comments

Comments
 (0)