]> granicus.if.org Git - python/commitdiff
update all_name_chars comment after 9020ac7cce97dddad51b285fffc31fe4ddf60898 (#3452)
authorBenjamin Peterson <benjamin@python.org>
Fri, 8 Sep 2017 06:35:53 +0000 (23:35 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2017 06:35:53 +0000 (23:35 -0700)
Objects/codeobject.c

index be2d7b22db7ac9670092b6a3284c73d40ba301ec..eee9bfeaf7cf827f37afe276dc3340ccebfedf18 100644 (file)
@@ -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)
 {