From 71e770a4d938432f6aaef68c72aa2d65956a73bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neum=C3=BCller?= Date: Sat, 26 Jul 2014 11:25:41 +0200 Subject: [PATCH] rst: Replace xrange() by Python 3 compatible range(). --- UltiSnips/rst.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiSnips/rst.snippets b/UltiSnips/rst.snippets index b73a8b9..85ea9fc 100644 --- a/UltiSnips/rst.snippets +++ b/UltiSnips/rst.snippets @@ -87,7 +87,7 @@ def make_items(times, leading='+'): times = int(times) if leading == 1: msg = "" - for x in xrange(1, times+1): + for x in range(1, times+1): msg += "%s. Item\n" % x return msg else: