From 24cd979a1f2985db51686b44394a0f9e00b4d1c7 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 23 Sep 2018 20:51:14 -0700 Subject: [PATCH] Remove use of six.next Use Python builtin next() instead. --- sphinx/environment/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py index 88eb75163..4e76de18e 100644 --- a/sphinx/environment/__init__.py +++ b/sphinx/environment/__init__.py @@ -17,7 +17,7 @@ from collections import defaultdict from copy import copy from os import path -from six import BytesIO, next +from six import BytesIO from sphinx import addnodes from sphinx.deprecation import RemovedInSphinx30Warning, RemovedInSphinx40Warning