summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-08 06:35:53 (GMT)
committerGitHub <noreply@github.com>2017-09-08 06:35:53 (GMT)
commit8e0ad46bc8349bf92f5f7b8545385b8798c94b52 (patch)
tree848254d684df29a75921153dfbe5ca68ec96c099 /Objects
parent2ebc5ce42a8a9e047e790aefbf9a94811569b2b6 (diff)
downloadcpython-8e0ad46bc8349bf92f5f7b8545385b8798c94b52.zip
cpython-8e0ad46bc8349bf92f5f7b8545385b8798c94b52.tar.gz
cpython-8e0ad46bc8349bf92f5f7b8545385b8798c94b52.tar.bz2
update all_name_chars comment after 9020ac7cce97dddad51b285fffc31fe4ddf60898 (#3452)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/codeobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index be2d7b2..eee9bfe 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)
{