Skip to content

Commit 8e0ad46

Browse files
authored
update all_name_chars comment after 9020ac7 (python#3452)
1 parent 2ebc5ce commit 8e0ad46

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Objects/codeobject.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ typedef struct {
1010
void *ce_extras[1];
1111
} _PyCodeObjectExtra;
1212

13-
/* all_name_chars(s): true iff all chars in s are valid NAME_CHARS */
14-
13+
/* all_name_chars(s): true iff s matches [a-zA-Z0-9_]* */
1514
static int
1615
all_name_chars(PyObject *o)
1716
{

0 commit comments

Comments
 (0)