]> granicus.if.org Git - python/commit
optimize all_name_chars (#3442)
authorBenjamin Peterson <benjamin@python.org>
Fri, 8 Sep 2017 01:06:23 +0000 (18:06 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2017 01:06:23 +0000 (18:06 -0700)
commit9020ac7cce97dddad51b285fffc31fe4ddf60898
tree4918182e1a5baf0cfd99c6fb0b166cf7db4b0c83
parent590665c399fc4aa3c4a9f8e7104d43a02e9f3a0c
optimize all_name_chars (#3442)

Remove redundant PyUnicode_Check call. Use a static table for checking chars.
Objects/codeobject.c