[pypy-commit] pypy py3.5: unused imports
arigo
pypy.commits at gmail.com
Thu Nov 10 13:14:59 EST 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r88300:16df122f695c
Date: 2016-11-10 13:08 +0100
http://bitbucket.org/pypy/pypy/changeset/16df122f695c/
Log: unused imports
diff --git a/pypy/objspace/std/stringmethods.py b/pypy/objspace/std/stringmethods.py
--- a/pypy/objspace/std/stringmethods.py
+++ b/pypy/objspace/std/stringmethods.py
@@ -280,8 +280,6 @@
def descr_rindex(self, space, w_sub, w_start=None, w_end=None):
(value, start, end) = self._convert_idx_params(space, w_start, w_end)
- from pypy.objspace.std.bytearrayobject import W_BytearrayObject
- from pypy.objspace.std.bytesobject import W_BytesObject
sub = self._op_val(space, w_sub, allow_char=True)
if self._use_rstr_ops(space, w_sub):
res = value.rfind(sub, start, end)
More information about the pypy-commit
mailing list