From 7c444365f2cf49ac8a58351657c8a7aac0f287ad Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Fri, 7 Aug 2020 17:20:34 +0100 Subject: [PATCH] Add back six.moves.range (Python 2) (#4411) This was accidentally removed in #4287. Co-authored-by: Jelle Zijlstra --- third_party/2/six/moves/__init__.pyi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/third_party/2/six/moves/__init__.pyi b/third_party/2/six/moves/__init__.pyi index b5b75e385..17212017b 100644 --- a/third_party/2/six/moves/__init__.pyi +++ b/third_party/2/six/moves/__init__.pyi @@ -3,7 +3,14 @@ # Note: Commented out items means they weren't implemented at the time. # Uncomment them when the modules have been added to the typeshed. import __builtin__ as builtins -from __builtin__ import intern as intern, raw_input as input, reduce as reduce, reload as reload_module, xrange as xrange +from __builtin__ import ( + intern as intern, + raw_input as input, + reduce as reduce, + reload as reload_module, + xrange as range, + xrange as xrange, +) from cStringIO import StringIO as cStringIO from itertools import ifilter as filter, ifilterfalse as filterfalse, imap as map, izip as zip, izip_longest as zip_longest from os import getcwd as getcwdb, getcwdu as getcwd