[Python-checkins] update all_name_chars comment after 9020ac7cce97dddad51b285fffc31fe4ddf60898 (#3452)
Benjamin Peterson
webhook-mailer at python.org
Fri Sep 8 02:35:56 EDT 2017
https://github.com/python/cpython/commit/8e0ad46bc8349bf92f5f7b8545385b8798c94b52
commit: 8e0ad46bc8349bf92f5f7b8545385b8798c94b52
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2017-09-07T23:35:53-07:00
summary:
update all_name_chars comment after 9020ac7cce97dddad51b285fffc31fe4ddf60898 (#3452)
files:
M Objects/codeobject.c
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index be2d7b22db7..eee9bfeaf7c 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -10,8 +10,7 @@ typedef struct {
void *ce_extras[1];
} _PyCodeObjectExtra;
-/* all_name_chars(s): true iff all chars in s are valid NAME_CHARS */
-
+/* all_name_chars(s): true iff s matches [a-zA-Z0-9_]* */
static int
all_name_chars(PyObject *o)
{
More information about the Python-checkins
mailing list