From 6d50ddefa1b0c4ca4f2b25f8cf12f507fc7cd115 Mon Sep 17 00:00:00 2001
From: Senthil Kumaran <senthil@uthcode.com>
Date: Thu, 16 Feb 2017 00:12:30 -0800
Subject: [PATCH] Change some mercurial/ hg.python.org references.

---
 Doc/faq/general.rst      | 6 +++---
 Lib/idlelib/help.html    | 2 +-
 Tools/README             | 2 +-
 Tools/importbench/README | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Doc/faq/general.rst b/Doc/faq/general.rst
index f1e33afdabf8a5..8f6a907a8a2fda 100644
--- a/Doc/faq/general.rst
+++ b/Doc/faq/general.rst
@@ -159,7 +159,7 @@ How do I obtain a copy of the Python source?
 
 The latest Python source distribution is always available from python.org, at
 https://www.python.org/downloads/.  The latest development sources can be obtained
-via anonymous Mercurial access at https://hg.python.org/cpython.
+at https://github.com/python/cpython/.
 
 The source distribution is a gzipped tar file containing the complete C source,
 Sphinx-formatted documentation, Python library modules, example programs, and
@@ -222,8 +222,8 @@ releases are announced on the comp.lang.python and comp.lang.python.announce
 newsgroups and on the Python home page at https://www.python.org/; an RSS feed of
 news is available.
 
-You can also access the development version of Python through Mercurial.  See
-https://docs.python.org/devguide/faq.html for details.
+You can also access the development version of Python through Git.  See
+`The Python Developer's Guide <https://docs.python.org/devguide/>`_ for details.
 
 
 How do I submit bug reports and patches for Python?
diff --git a/Lib/idlelib/help.html b/Lib/idlelib/help.html
index ffc03c4112f073..f10cd345e886c8 100644
--- a/Lib/idlelib/help.html
+++ b/Lib/idlelib/help.html
@@ -90,7 +90,7 @@ <h3>Navigation</h3>
 
   <div class="section" id="idle">
 <span id="id1"></span><h1>25.5. IDLE<a class="headerlink" href="#idle" title="Permalink to this headline">ΒΆ</a></h1>
-<p><strong>Source code:</strong> <a class="reference external" href="https://hg.python.org/cpython/file/3.5/Lib/idlelib/">Lib/idlelib/</a></p>
+<p><strong>Source code:</strong> <a class="reference external" href="https://github.com/python/cpython/tree/3.5/Lib/idlelib">Lib/idlelib/</a></p>
 <hr class="docutils" id="index-0" />
 <p>IDLE is Python&#8217;s Integrated Development and Learning Environment.</p>
 <p>IDLE has the following features:</p>
diff --git a/Tools/README b/Tools/README
index 73ce6a7eee01f6..35528811fee9fd 100644
--- a/Tools/README
+++ b/Tools/README
@@ -43,4 +43,4 @@ unittestgui     A Tkinter based GUI test runner for unittest, with test
                 discovery.
 
 
-(*) A generic benchmark suite is maintained separately at http://hg.python.org/benchmarks/
+(*) A generic benchmark suite is maintained separately at https://github.com/python/performance
diff --git a/Tools/importbench/README b/Tools/importbench/README
index 81a5544a383b4c..6ba386c2b608d5 100644
--- a/Tools/importbench/README
+++ b/Tools/importbench/README
@@ -3,4 +3,4 @@ Importbench is a set of micro-benchmarks for various import scenarios.
 It should not be used as an overall benchmark of import performance, but rather
 an easy way to measure impact of possible code changes. For a real-world
 benchmark of import, use the normal_startup benchmark from
-hg.python.org/benchmarks.
+https://github.com/python/performance