[pypy-commit] pypy wrap-specialisation: rm unused function

rlamy noreply at buildbot.pypy.org
Wed Nov 25 18:13:51 EST 2015


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: wrap-specialisation
Changeset: r80967:e3cc7c3a5dcc
Date: 2015-11-25 23:14 +0000
http://bitbucket.org/pypy/pypy/changeset/e3cc7c3a5dcc/

Log:	rm unused function

diff --git a/pypy/tool/ann_override.py b/pypy/tool/ann_override.py
--- a/pypy/tool/ann_override.py
+++ b/pypy/tool/ann_override.py
@@ -4,13 +4,6 @@
 from rpython.annotator.classdesc import InstanceSource
 
 
-def isidentifier(s):
-    if not s:
-        return False
-    s = s.replace('_', 'x')
-    return s[0].isalpha() and s.isalnum()
-
-
 class PyPyAnnotatorPolicy(AnnotatorPolicy):
     def __init__(self):
         self.lookups = {}


More information about the pypy-commit mailing list