From 3d394b1ab033ef1bd8202470ab7ff8db65cc849f Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 10 Jun 2018 11:23:28 -0700 Subject: [PATCH] Update documentation links to latest Python 3 documentation The URL https://docs.python.org/3/ is actively maintained and updated. --- docs/source/conf.py | 2 +- src/flake8/main/vcs.py | 2 +- 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