[pypy-svn] r75124 - pypy/trunk/pypy/objspace/std
benjamin at codespeak.net
benjamin at codespeak.net
Fri Jun 4 23:47:45 CEST 2010
Author: benjamin
Date: Fri Jun 4 23:47:43 2010
New Revision: 75124
Modified:
pypy/trunk/pypy/objspace/std/formatting.py
Log:
remove unused function
Modified: pypy/trunk/pypy/objspace/std/formatting.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/formatting.py (original)
+++ pypy/trunk/pypy/objspace/std/formatting.py Fri Jun 4 23:47:43 2010
@@ -474,12 +474,6 @@
[_name[-1] for _name in dir(StringFormatter)
if len(_name) == 5 and _name.startswith('fmt_')])
-def is_list_of_chars_or_unichars(ann, bk):
- from pypy.annotation.model import SomeChar, SomeUnicodeCodePoint
- if not isinstance(ann.listdef.listitem.s_value,
- (SomeChar, SomeUnicodeCodePoint)):
- raise TypeError("Formatter should return as a result a list of chars or unichars, otherwise we miss important optimization")
-
def format(space, w_fmt, values_w, w_valuedict=None, do_unicode=False):
"Entry point"
if not do_unicode:
More information about the Pypy-commit
mailing list