bpo-33503: Fix the broken pypi link in the source and the documentation (GH-6814)
diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
index aec4bf9..ab92a87 100644
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -19,7 +19,7 @@
library and will be able to skip this step.)
For third-party packages, search the `Python Package Index
-<https://pypi.python.org/pypi>`_ or try `Google <https://www.google.com>`_ or
+<https://pypi.org>`_ or try `Google <https://www.google.com>`_ or
another Web search engine. Searching for "Python" plus a keyword or two for
your topic of interest will usually find something helpful.
@@ -611,7 +611,7 @@
"expect" library. A Python extension that interfaces to expect is called
"expy" and available from http://expectpy.sourceforge.net. A pure Python
solution that works like expect is `pexpect
- <https://pypi.python.org/pypi/pexpect/>`_.
+ <https://pypi.org/project/pexpect/>`_.
How do I access the serial (RS232) port?