summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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