aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/upload_docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/upload_docs.py')
-rw-r--r--setuptools/command/upload_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py
index c43b0f42..e21a88ce 100644
--- a/setuptools/command/upload_docs.py
+++ b/setuptools/command/upload_docs.py
@@ -25,7 +25,7 @@ try:
except ImportError:
from setuptools.command.upload import upload
-if sys.version_info >= (3,):
+if sys.version_info >= (3, 1):
errors = 'surrogateescape'
else:
errors = 'strict'