From: Benjamin Peterson Date: Fri, 8 Sep 2017 06:35:53 +0000 (-0700) Subject: update all_name_chars comment after 9020ac7cce97dddad51b285fffc31fe4ddf60898 (#3452) X-Git-Tag: v3.7.0a1~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e0ad46bc8349bf92f5f7b8545385b8798c94b52;p=python update all_name_chars comment after 9020ac7cce97dddad51b285fffc31fe4ddf60898 (#3452) --- diff --git a/Objects/codeobject.c b/Objects/codeobject.c index be2d7b22db..eee9bfeaf7 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) {