From d12379c8934263554a5442c48f33e673710ef0e4 Mon Sep 17 00:00:00 2001 From: mdroe Date: Wed, 14 Oct 2009 17:01:33 +0000 Subject: Remove 'format' altogether, since I don't think I'll be implementing it any time soon. --- numpy/core/defchararray.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/core/defchararray.py') diff --git a/numpy/core/defchararray.py b/numpy/core/defchararray.py index 605b478e2..ec1304e5a 100644 --- a/numpy/core/defchararray.py +++ b/numpy/core/defchararray.py @@ -622,10 +622,10 @@ def find(a, sub, start=0, end=None): return _vec_string( a, integer, 'find', [sub, start] + _clean_args(end)) -if sys.version_info >= (2.6): - def format(a, *args, **kwargs): - # _vec_string doesn't support kwargs at present - raise NotImplementedError +# if sys.version_info >= (2.6): +# def format(a, *args, **kwargs): +# # _vec_string doesn't support kwargs at present +# raise NotImplementedError def index(a, sub, start=0, end=None): """ -- cgit v1.2.1