summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-06-10 11:23:28 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-06-10 11:23:28 -0700
commit3d394b1ab033ef1bd8202470ab7ff8db65cc849f (patch)
treeb3ae82cafd860c951bb78b0c873af003849deea4
parent33e7eae53ad513952da777cabd3654219efe0eb8 (diff)
downloadflake8-3d394b1ab033ef1bd8202470ab7ff8db65cc849f.tar.gz
Update documentation links to latest Python 3 documentation
The URL https://docs.python.org/3/ is actively maintained and updated.
-rw-r--r--docs/source/conf.py2
-rw-r--r--src/flake8/main/vcs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 355e6ff..dd2003f 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -297,4 +297,4 @@ texinfo_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None)}
+intersphinx_mapping = {'python': ('https://docs.python.org/3/', None)}
diff --git a/src/flake8/main/vcs.py b/src/flake8/main/vcs.py
index 207d26c..73dbaa9 100644
--- a/src/flake8/main/vcs.py
+++ b/src/flake8/main/vcs.py
@@ -18,7 +18,7 @@ def install(option, option_string, value, parser):
"""Determine which version control hook to install.
For more information about the callback signature, see:
- https://docs.python.org/2/library/optparse.html#optparse-option-callbacks
+ https://docs.python.org/3/library/optparse.html#optparse-option-callbacks
"""
installer = _INSTALLERS.get(value)
errored = False