diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html
index 17527253f..98284ec67 100644
--- a/docs/_templates/sidebarintro.html
+++ b/docs/_templates/sidebarintro.html
@@ -59,8 +59,8 @@
Contributors
Useful Links
@@ -69,8 +69,8 @@ Translations
English
French
Chinese
- Japanese
+ Japanese
Korean
- Filipino
- Brazilian Portuguese
+ Filipino
+ Brazilian Portuguese
diff --git a/docs/conf.py b/docs/conf.py
index 974736fd6..64e78e4f8 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -46,7 +46,7 @@
# General information about the project.
project = u'pythonguide'
-copyright = u'2011–2018 Kenneth Reitz & Real Python. CC BY-NC-SA 3.0'
+copyright = u'2011–2018 Kenneth Reitz & Real Python. CC BY-NC-SA 3.0'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
diff --git a/docs/dev/env.rst b/docs/dev/env.rst
index 042d42dce..bc754e49b 100644
--- a/docs/dev/env.rst
+++ b/docs/dev/env.rst
@@ -87,10 +87,10 @@ using ```` key or any other customized keys.
.. _indent: http://www.vim.org/scripts/script.php?script_id=974
.. _syntax: http://www.vim.org/scripts/script.php?script_id=790
-.. _Pyflakes: http://pypi.python.org/pypi/pyflakes/
-.. _pycodestyle: https://pypi.python.org/pypi/pycodestyle/
-.. _syntastic: https://github.com/scrooloose/syntastic
-.. _Python-mode: https://github.com/klen/python-mode
+.. _Pyflakes: http://pypi.org/project/pyflakes/
+.. _pycodestyle: https://pypi.org/project/pycodestyle/
+.. _syntastic: https://github.com/vim-syntastic/syntastic
+.. _Python-mode: https://github.com/python-mode/python-mode
.. _SuperTab: http://www.vim.org/scripts/script.php?script_id=1643
.. _vim-flake8: https://github.com/nvie/vim-flake8
@@ -103,7 +103,7 @@ Emacs user is `Python Programming in Emacs`_ at EmacsWiki.
1. Emacs itself comes with a Python mode.
-.. _Python Programming in Emacs: http://emacswiki.org/emacs/PythonProgrammingInEmacs
+.. _Python Programming in Emacs: https://www.emacswiki.org/emacs/PythonProgrammingInEmacs
TextMate
--------
@@ -135,7 +135,7 @@ Atom
Atom is web native (HTML, CSS, JS), focusing on modular design and easy plugin
development. It comes with native package control and a plethora of packages.
Recommended for Python development is
-`Linter `_ combined with
+`Linter `_ combined with
`linter-flake8 `_.
@@ -163,7 +163,7 @@ MIT licensed.
Enthought Canopy
----------------
-`Enthought Canopy `_ is a Python
+`Enthought Canopy `_ is a Python
IDE which is focused towards Scientists and Engineers as it provides pre
installed libraries for data analysis.
@@ -171,13 +171,13 @@ Eclipse
-------
The most popular Eclipse plugin for Python development is Aptana's
-`PyDev `_.
+`PyDev `_.
Komodo IDE
----------
-`Komodo IDE `_ is developed by
+`Komodo IDE `_ is developed by
ActiveState and is a commercial IDE for Windows, Mac, and Linux.
`KomodoEdit `_ is the open source
alternative.
@@ -188,8 +188,8 @@ Spyder
`Spyder `_ is an IDE specifically geared
toward working with scientific Python libraries (namely
-`SciPy `_). It includes integration with pyflakes_,
-`pylint `_ and
+`SciPy `_). It includes integration with pyflakes_,
+`pylint `_ and
`rope `_.
Spyder is open source (free), offers code completion, syntax highlighting,
@@ -242,13 +242,13 @@ Virtual Environments
Virtual Environments provide a powerful way to isolate project package dependencies. This means that you can use packages particular to a Python project without installing them system wide and thus avoiding potential version conflicts.
To start using and see more information:
-`Virtual Environments `_ docs.
+`Virtual Environments `_ docs.
pyenv
-----
-`pyenv `_ is a tool to allow multiple versions
+`pyenv `_ is a tool to allow multiple versions
of the Python interpreter to be installed at the same time. This solves the
problem of having different projects requiring different versions of Python.
For example, it becomes very easy to install Python 2.7 for compatibility in
@@ -264,7 +264,7 @@ pyenv. pyenv then works out which version of Python should be run based on
environment variables, ``.python-version`` files, and the global default.
pyenv isn't a tool for managing virtual environments, but there is the plugin
-`pyenv-virtualenv `_ which automates
+`pyenv-virtualenv `_ which automates
the creation of different environments, and also makes it possible to use the
existing pyenv tools to switch to different environments based on environment
variables or ``.python-version`` files.
@@ -314,7 +314,7 @@ To download and install IPython with all its optional dependencies for the noteb
BPython
-------
-`bpython `_ is an alternative interface to the
+`bpython `_ is an alternative interface to the
Python interpreter for Unix-like operating systems. It has the following
features:
@@ -334,8 +334,8 @@ features:
ptpython
--------
-`ptpython `_ is a REPL build
-on top of the `prompt_toolkit `_
+`ptpython `_ is a REPL build
+on top of the `prompt_toolkit `_
library. It is considered to be an alternative to BPython_. Features include:
* Syntax highlighting
diff --git a/docs/dev/virtualenvs.rst b/docs/dev/virtualenvs.rst
index be9bd5803..dfb23b424 100644
--- a/docs/dev/virtualenvs.rst
+++ b/docs/dev/virtualenvs.rst
@@ -200,7 +200,7 @@ Congratulations, you now know how to install and use Python packages! ✨ 🍰
Lower level: virtualenv
=======================
-`virtualenv `_ is a tool to create
+`virtualenv `_ is a tool to create
isolated Python environments. virtualenv creates a folder which contains all the
necessary executables to use the packages that a Python project would need.
diff --git a/docs/intro/duction.rst b/docs/intro/duction.rst
index 7619002d6..16baebc0d 100644
--- a/docs/intro/duction.rst
+++ b/docs/intro/duction.rst
@@ -28,11 +28,11 @@ include:
object serialization, and much more.
Additionally, the
- `Python Package Index `_ is available
+ `Python Package Index `_ is available
for users to submit their packages for widespread use, similar to
- Perl's `CPAN `_. There is a thriving community
+ Perl's `CPAN `_. There is a thriving community
of very powerful Python frameworks and tools like
- the `Django `_ web framework and the
+ the `Django `_ web framework and the
`NumPy `_ set of math routines.
* **integration with other systems**
diff --git a/docs/intro/learning.rst b/docs/intro/learning.rst
index 6e2d0ea41..e06e64da3 100644
--- a/docs/intro/learning.rst
+++ b/docs/intro/learning.rst
@@ -41,14 +41,14 @@ thepythonguru.com is a tutorial focused on beginner programmers. It covers many
in depth. It also teaches you some advanced constructs of Python like lambda expressions and regular expressions.
And last it finishes off with the tutorial "How to access MySQL db using Python"
- `Python for Beginners `_
+ `Python for Beginners `_
Learn Python Interactive Tutorial
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Learnpython.org is an easy non-intimidating way to get introduced to Python.
The website takes the same approach used on the popular
-`Try Ruby `_ website. It has an interactive Python
+`Try Ruby `_ website. It has an interactive Python
interpreter built into the site that allows you to go through the lessons
without having to install Python locally.
@@ -65,9 +65,9 @@ resource for learning all aspects of the language.
Learn Python Step by Step
~~~~~~~~~~~~~~~~~~~~~~~~~
-Techbeamers.com provides step-by-step tutorials to teach Python. Each tutorial is supplemented with logically added coding snippets and equips with a follow-up quiz on the subject learned. There is a section for `Python interview questions `_ to help job seekers. You can also read essential `Python tips `_ and learn `best coding practices `_ for writing quality code. Here, you'll get the right platform to learn Python quickly.
+Techbeamers.com provides step-by-step tutorials to teach Python. Each tutorial is supplemented with logically added coding snippets and equips with a follow-up quiz on the subject learned. There is a section for `Python interview questions `_ to help job seekers. You can also read essential `Python tips `_ and learn `best coding practices `_ for writing quality code. Here, you'll get the right platform to learn Python quickly.
-`Learn Python Basic to Advanced `_
+`Learn Python Basic to Advanced `_
Online Python Tutor
@@ -108,7 +108,7 @@ Learn Python the Hard Way
This is an excellent beginner programmer's guide to Python. It covers "hello
world" from the console to the web.
- `Learn Python the Hard Way `_
+ `Learn Python the Hard Way `_
Crash into Python
@@ -117,7 +117,7 @@ Crash into Python
Also known as *Python for Programmers with 3 Hours*, this guide gives
experienced developers from other languages a crash course on Python.
- `Crash into Python `_
+ `Crash into Python `_
Dive Into Python 3
@@ -161,11 +161,11 @@ For those used to languages and figuring out puzzles on their own, this can be
a fun, attractive option. For those new to Python and programming, having an
additional resource or reference will be helpful.
- `Python Koans `_
+ `Python Koans `_
More information about test driven development can be found at these resources:
- `Test Driven Development `_
+ `Test Driven Development `_
A Byte of Python
@@ -178,13 +178,15 @@ no previous programming experience.
`A Byte of Python for Python 3.x `_
-Learn to Program in Python with Codeacademy
+Computer Science Path on Codecademy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-A Codeacademy course for the absolute Python beginner. This free and interactive course provides and teaches the basics (and beyond) of Python programming while testing the user's knowledge in between progress.
+A Codeacademy course for the absolute Python beginner. This free and interactive
+course provides and teaches the basics (and beyond) of Python programming while
+testing the user's knowledge in between progress.
This course also features a built-in interpreter for receiving instant feedback on your learning.
- `Learn to Program in Python with Codeacademy `_
+ `Computer Science Path on Codecademy `_
Code the blocks
@@ -220,7 +222,7 @@ pages, it is a very brief overview of some of the most common adapations
programmers need to make to become efficient intermediate level Python
programmers.
- `Effective Python `_
+ `Effective Python `_
********
@@ -251,7 +253,7 @@ and eventually an application, including a chapter on using zc.buildout. Later
chapters detail best practices such as writing documentation, test-driven
development, version control, optimization, and profiling.
- `Expert Python Programming `_
+ `Expert Python Programming `_
A Guide to Python's Magic Methods
@@ -278,7 +280,7 @@ A Primer on Scientific Programming with Python, written by Hans Petter
Langtangen, mainly covers Python's usage in the scientific field. In the book,
examples are chosen from mathematics and the natural sciences.
- `A Primer on Scientific Programming with Python `_
+ `A Primer on Scientific Programming with Python `_
Numerical Methods in Engineering with Python
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -286,7 +288,7 @@ Numerical Methods in Engineering with Python
Numerical Methods in Engineering with Python, written by Jaan Kiusalaas,
puts the emphasis on numerical methods and how to implement them in Python.
- `Numerical Methods in Engineering with Python `_
+ `Numerical Methods in Engineering with Python `_
********************
@@ -405,6 +407,6 @@ some commonly used piece of code, followed by an explanation of why the idiom
is important. It also contains two code samples for each idiom: the "Harmful"
way to write it and the "Idiomatic" way.
- `For Python 2.7.3+ `_
+ `For Python 2.7.3+ `_
- `For Python 3.3+ `_
+ `For Python 3.3+ `_
diff --git a/docs/intro/news.rst b/docs/intro/news.rst
index 9f8e9232b..d1cda93be 100644
--- a/docs/intro/news.rst
+++ b/docs/intro/news.rst
@@ -32,7 +32,7 @@ Planet Python
This is an aggregate of Python news from a growing number of developers.
- `Planet Python `_
+ `Planet Python `_
*********
@@ -42,7 +42,7 @@ This is an aggregate of Python news from a growing number of developers.
/r/python is the Reddit Python community where users contribute and vote on
Python-related news.
- `/r/python `_
+ `/r/python `_
*******************
@@ -70,7 +70,7 @@ Python Weekly
Python Weekly is a free weekly newsletter featuring curated news, articles,
new releases, jobs, etc. related to Python.
- `Python Weekly `_
+ `Python Weekly `_
***********
@@ -80,7 +80,7 @@ Python News
Python News is the news section in the official Python web site
(www.python.org). It briefly highlights the news from the Python community.
- `Python News `_
+ `Python News `_
********************
diff --git a/docs/notes/contribute.rst b/docs/notes/contribute.rst
index d82fb76da..b6c72bb4f 100644
--- a/docs/notes/contribute.rst
+++ b/docs/notes/contribute.rst
@@ -30,5 +30,5 @@ If you'd like to contribute, there's plenty to do. Here's a short todo_ list.
.. include:: ../../TODO.rst
-.. _GitHub: http://github.com/kennethreitz/python-guide/
+.. _GitHub: https://github.com/kennethreitz/python-guide/
.. _todo: https://github.com/kennethreitz/python-guide/blob/master/TODO.rst
diff --git a/docs/scenarios/cli.rst b/docs/scenarios/cli.rst
index f90010eca..1bf810e0e 100644
--- a/docs/scenarios/cli.rst
+++ b/docs/scenarios/cli.rst
@@ -46,7 +46,7 @@ POSIX-style usage instructions.
Plac
****
-`Plac `_ is a simple wrapper
+`Plac `_ is a simple wrapper
over the Python standard library `argparse `_,
which hides most of its complexity by using a declarative interface: the
argument parser is inferred rather than written down imperatively. This
diff --git a/docs/scenarios/client.rst b/docs/scenarios/client.rst
index a10f1db38..1457fa479 100644
--- a/docs/scenarios/client.rst
+++ b/docs/scenarios/client.rst
@@ -29,7 +29,7 @@ pooling are 100% automatic, powered by urllib3, which is embedded within
Requests.
- `Documentation `_
-- `PyPi `_
+- `PyPi `_
- `GitHub `_
diff --git a/docs/scenarios/db.rst b/docs/scenarios/db.rst
index 58211e26b..ecdb83008 100644
--- a/docs/scenarios/db.rst
+++ b/docs/scenarios/db.rst
@@ -52,7 +52,7 @@ Also included is a command-line tool for exporting SQL data.
Django ORM
**********
-The Django ORM is the interface used by `Django `_
+The Django ORM is the interface used by `Django `_
to provide database access.
It's based on the idea of
diff --git a/docs/scenarios/network.rst b/docs/scenarios/network.rst
index f8306c70a..bb751b78e 100644
--- a/docs/scenarios/network.rst
+++ b/docs/scenarios/network.rst
@@ -10,19 +10,19 @@ Networking
Twisted
*******
-`Twisted `_ is an event-driven networking
+`Twisted `_ is an event-driven networking
engine. It can be used to build applications around many different networking
protocols, including HTTP servers and clients, applications using SMTP, POP3,
IMAP, or SSH protocols, instant messaging,
-and `much more `_.
+and `much more `_.
*****
PyZMQ
*****
-`PyZMQ `_ is the Python binding for
-`ZeroMQ `_, which is a high-performance asynchronous
+`PyZMQ `_ is the Python binding for
+`ZeroMQ `_, which is a high-performance asynchronous
messaging library. One great advantage of ZeroMQ is that it can be used for
message queuing without a message broker. The basic patterns for this are:
diff --git a/docs/scenarios/scientific.rst b/docs/scenarios/scientific.rst
index cca234225..bb0547323 100644
--- a/docs/scenarios/scientific.rst
+++ b/docs/scenarios/scientific.rst
@@ -160,7 +160,7 @@ add-ons are available for academics and researchers.
Canopy
------
-`Canopy `_ is another scientific
+`Canopy `_ is another scientific
Python distribution, produced by `Enthought `_.
A limited 'Canopy Express' variant is available for free, but Enthought
charges for the full distribution. Free licenses are available for academics.
diff --git a/docs/scenarios/speed.rst b/docs/scenarios/speed.rst
index 485872360..1ac16b02e 100644
--- a/docs/scenarios/speed.rst
+++ b/docs/scenarios/speed.rst
@@ -76,7 +76,7 @@ C Extensions
Cython
------
-`Cython `_ implements a superset of the Python language
+`Cython `_ implements a superset of the Python language
with which you are able to write C and C++ modules for Python. Cython also
allows you to call functions from compiled C libraries. Using Cython allows
you to take advantage of Python's strong typing of variables and operations.
@@ -448,14 +448,14 @@ Multiprocessing
.. _`PyPy`: http://pypy.org
-.. _`The GIL`: http://wiki.python.org/moin/GlobalInterpreterLock
+.. _`The GIL`: https://wiki.python.org/moin/GlobalInterpreterLock
.. _`guide`: http://www.dabeaz.com/python/UnderstandingGIL.pdf
.. _`New GIL`: http://www.dabeaz.com/python/NewGIL.pdf
-.. _`Special care`: http://docs.python.org/c-api/init.html#threads
+.. _`Special care`: https://docs.python.org/c-api/init.html#threads
.. _`David Beazley's`: http://www.dabeaz.com/GIL/gilvis/measure2.py
.. _`concurrent.futures`: https://docs.python.org/3/library/concurrent.futures.html
.. _`Future`: https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Future
.. _`threading`: https://docs.python.org/3/library/threading.html
-.. _`stackoverflow post`: http://stackoverflow.com/questions/26688424/python-threads-are-printing-at-the-same-time-messing-up-the-text-output
+.. _`stackoverflow post`: https://stackoverflow.com/questions/26688424/python-threads-are-printing-at-the-same-time-messing-up-the-text-output
.. _`data race`: https://en.wikipedia.org/wiki/Race_condition
.. _`Lock`: https://docs.python.org/3/library/threading.html#lock-objects
diff --git a/docs/scenarios/xml.rst b/docs/scenarios/xml.rst
index 91cafc5c4..3bdf15b6c 100644
--- a/docs/scenarios/xml.rst
+++ b/docs/scenarios/xml.rst
@@ -43,7 +43,7 @@ untangle also supports loading XML from a string or a URL.
xmltodict
*********
-`xmltodict `_ is another simple
+`xmltodict `_ is another simple
library that aims at making XML feel like working with JSON.
An XML file like this:
diff --git a/docs/shipping/freezing.rst b/docs/shipping/freezing.rst
index 99dcba293..1b614f378 100644
--- a/docs/shipping/freezing.rst
+++ b/docs/shipping/freezing.rst
@@ -61,7 +61,7 @@ py2app no no yes yes MIT no yes yes
.. note::
Freezing Python code on Linux into a Windows executable was only once
supported in PyInstaller `and later dropped
- `_.
+ `_.
.. note::
All solutions need a Microsoft Visual C++ to be installed on the target machine, except py2app.
@@ -139,7 +139,7 @@ Prerequisite is to install :ref:`Python on Windows `. The last
3. (Optionally) `include icon `_
-4. (Optionally) `one-file mode `_
+4. (Optionally) `one-file mode `_
5. Generate :file:`.exe` into :file:`dist` directory:
diff --git a/docs/shipping/packaging.rst b/docs/shipping/packaging.rst
index 0f0ff04d1..9a8be8c1d 100644
--- a/docs/shipping/packaging.rst
+++ b/docs/shipping/packaging.rst
@@ -48,7 +48,7 @@ On Linux, you may also want to consider
For Python Developers
*********************
-If you're writing an open source Python module, `PyPI `_
+If you're writing an open source Python module, `PyPI `_
, more properly known as *The Cheeseshop*, is the place to host it.
@@ -56,8 +56,8 @@ If you're writing an open source Python module, `PyPI `_
Pip vs. easy_install
--------------------
-Use `pip `_. More details
-`here `_.
+Use `pip `_. More details
+`here `_.
Personal PyPI
@@ -105,7 +105,7 @@ I got fooled by that, one time. But if you feel that creating a folder called
pypiserver
++++++++++
-`pypiserver `_ is a minimal PyPI
+`pypiserver `_ is a minimal PyPI
compatible server. It can be used to serve a set of packages to easy_install
or pip. It includes helpful features like an administrative command
(``-U``) which will update all its packages to their latest versions
diff --git a/docs/starting/install/linux.rst b/docs/starting/install/linux.rst
index f0dc63950..4198be8be 100644
--- a/docs/starting/install/linux.rst
+++ b/docs/starting/install/linux.rst
@@ -38,7 +38,7 @@ it makes it much easier for you to use other third-party Python libraries.
Setuptools & Pip
****************
-The two most crucial third-party Python packages are `setuptools `_ and `pip `_.
+The two most crucial third-party Python packages are `setuptools `_ and `pip `_.
Once installed, you can download, install and uninstall any compliant Python software
product with a single command. It also enables you to add this network installation
@@ -75,6 +75,5 @@ manage your virtual environments.
--------------------------------
-This page is a remixed version of `another guide `_,
+This page is a remixed version of `another guide `_,
which is available under the same license.
-
diff --git a/docs/starting/install/osx.rst b/docs/starting/install/osx.rst
index 48e5bdfe9..d0aa601aa 100644
--- a/docs/starting/install/osx.rst
+++ b/docs/starting/install/osx.rst
@@ -33,7 +33,7 @@ Let's install a real version of Python.
Before installing Python, you'll need to install a C compiler. The fastest way
is to install the Xcode Command Line Tools by running
``xcode-select --install``. You can also download the full version of
-`Xcode `_ from the Mac App Store, or the
+`Xcode `_ from the Mac App Store, or the
minimal but unofficial
`OSX-GCC-Installer `_
package.
@@ -50,9 +50,9 @@ package.
While OS X comes with a large number of Unix utilities, those familiar with
Linux systems will notice one key component missing: a decent package manager.
-`Homebrew `_ fills this void.
+`Homebrew `_ fills this void.
-To `install Homebrew `_, open :file:`Terminal` or
+To `install Homebrew `_, open :file:`Terminal` or
your favorite OS X terminal emulator and run
.. code-block:: console
@@ -129,5 +129,5 @@ To start using this and see more information: :ref:`Virtual Environments `_,
+This page is a remixed version of `another guide `_,
which is available under the same license.
diff --git a/docs/starting/install/win.rst b/docs/starting/install/win.rst
index e22837c8f..ac304aec1 100644
--- a/docs/starting/install/win.rst
+++ b/docs/starting/install/win.rst
@@ -13,7 +13,7 @@ Installing Python 2 on Windows
First, download the `latest version `_
of Python 2.7 from the official website. If you want to be sure you are installing a fully
up-to-date version, click the Downloads > Windows link from the home page of the
-`Python.org web site `_ .
+`Python.org web site `_ .
The Windows version is provided as an MSI package. To install it manually, just
double-click the file. The MSI package format allows Windows administrators to
@@ -57,7 +57,7 @@ makes it much easier for you to use other third-party Python libraries.
Setuptools + Pip
****************
-The two most crucial third-party Python packages are `setuptools `_ and `pip `_.
+The two most crucial third-party Python packages are `setuptools `_ and `pip `_.
Once installed, you can download, install and uninstall any compliant Python software
product with a single command. It also enables you to add this network installation
@@ -92,5 +92,5 @@ To start using this and see more information: :ref:`Virtual Environments `_,
+This page is a remixed version of `another guide `_,
which is available under the same license.
diff --git a/docs/starting/install3/linux.rst b/docs/starting/install3/linux.rst
index 36b439ec2..47765c43f 100644
--- a/docs/starting/install3/linux.rst
+++ b/docs/starting/install3/linux.rst
@@ -67,7 +67,7 @@ This will launch the Python 3 interpreter.
Setuptools & Pip
****************
-The two most crucial third-party Python packages are `setuptools `_ and `pip `_.
+The two most crucial third-party Python packages are `setuptools `_ and `pip `_.
Once installed, you can download, install and uninstall any compliant Python software
product with a single command. It also enables you to add this network installation
@@ -113,6 +113,5 @@ So, onward! To the :ref:`Pipenv & Virtual Environments
--------------------------------
-This page is a remixed version of `another guide `_,
+This page is a remixed version of `another guide `_,
which is available under the same license.
-
diff --git a/docs/starting/install3/osx.rst b/docs/starting/install3/osx.rst
index 9ffe20225..654cca115 100644
--- a/docs/starting/install3/osx.rst
+++ b/docs/starting/install3/osx.rst
@@ -27,7 +27,7 @@ Doing it Right
Let's install a real version of Python.
Before installing Python, you'll need to install GCC. GCC can be obtained
-by downloading `Xcode `_, the smaller
+by downloading `Xcode `_, the smaller
`Command Line Tools `_ (must have an
Apple account) or the even smaller `OSX-GCC-Installer `_
package.
@@ -43,9 +43,9 @@ package.
While OS X comes with a large number of Unix utilities, those familiar with
Linux systems will notice one key component missing: a package manager.
-`Homebrew `_ fills this void.
+`Homebrew `_ fills this void.
-To `install Homebrew `_, open :file:`Terminal` or
+To `install Homebrew `_, open :file:`Terminal` or
your favorite OS X terminal emulator and run
.. code-block:: console
@@ -139,5 +139,5 @@ So, onward! To the :ref:`Pipenv & Virtual Environments
--------------------------------
-This page is a remixed version of `another guide `_,
+This page is a remixed version of `another guide `_,
which is available under the same license.
diff --git a/docs/starting/install3/win.rst b/docs/starting/install3/win.rst
index 588d1ccb0..2e259ac0f 100644
--- a/docs/starting/install3/win.rst
+++ b/docs/starting/install3/win.rst
@@ -24,7 +24,7 @@ Once you've run this command, you should be able to launch Python directly from
Setuptools + Pip
****************
-The two most crucial third-party Python packages are `setuptools `_ and `pip `_,
+The two most crucial third-party Python packages are `setuptools `_ and `pip `_,
which let you download, install and uninstall any compliant Python software
product with a single command. It also enables you to add this network installation
capability to your own Python software with very little work.
@@ -52,5 +52,5 @@ So, onward! To the :ref:`Pipenv & Virtual Environments
--------------------------------
-This page is a remixed version of `another guide `_,
+This page is a remixed version of `another guide `_,
which is available under the same license.
diff --git a/docs/writing/logging.rst b/docs/writing/logging.rst
index 5ea058efc..d21838838 100644
--- a/docs/writing/logging.rst
+++ b/docs/writing/logging.rst
@@ -70,9 +70,9 @@ this in your ``__init__.py``:
Logging in an Application
*************************
-The `twelve factor app `_, an authoritative reference
+The `twelve factor app `_, an authoritative reference
for good practice in application development, contains a section on
-`logging best practice `_. It emphatically
+`logging best practice `_. It emphatically
advocates for treating log events as an event stream, and for
sending that event stream to standard output to be handled by the
application environment.
@@ -192,9 +192,9 @@ Example Configuration Directly in Code
logger.debug('often makes a very good meal of %s', 'visiting tourists')
-.. _basic logging tutorial: http://docs.python.org/howto/logging.html#logging-basic-tutorial
-.. _logging configuration: https://docs.python.org/howto/logging.html#configuring-logging
-.. _logging tutorial: http://docs.python.org/howto/logging.html
-.. _configuring logging for a library: https://docs.python.org/howto/logging.html#configuring-logging-for-a-library
-.. _log record: https://docs.python.org/library/logging.html#logrecord-attributes
+.. _basic logging tutorial: http://docs.python.org/3/howto/logging.html#logging-basic-tutorial
+.. _logging configuration: https://docs.python.org/3/howto/logging.html#configuring-logging
+.. _logging tutorial: http://docs.python.org/3/howto/logging.html
+.. _configuring logging for a library: https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library
+.. _log record: https://docs.python.org/3/library/logging.html#logrecord-attributes
.. _requests source: https://github.com/kennethreitz/requests
diff --git a/docs/writing/style.rst b/docs/writing/style.rst
index 8f15a1b02..56f108603 100644
--- a/docs/writing/style.rst
+++ b/docs/writing/style.rst
@@ -271,7 +271,7 @@ Idioms
A programming idiom, put simply, is a *way* to write code. The notion of
programming idioms is discussed amply at `c2 `_
-and at `Stack Overflow `_.
+and at `Stack Overflow `_.
Idiomatic Python code is often referred to as being *Pythonic*.
@@ -403,7 +403,7 @@ hand, the hash of the item will tell Python where in the set to look for
a matching item. As a result, the search can be done quickly, even if the
set is large. Searching in dictionaries works the same way. For
more information see this
-`StackOverflow `_
+`StackOverflow `_
page. For detailed information on the amount of time various common operations
take on each of these data structures, see
`this page `_.
@@ -496,7 +496,7 @@ Then run it on a file or series of files to get a report of any violations.
optparse.py:472:29: E221 multiple spaces before operator
optparse.py:544:21: W601 .has_key() is deprecated, use 'in'
-The program `autopep8 `_ can be used to
+The program `autopep8 `_ can be used to
automatically reformat code in the PEP 8 style. Install the program with:
.. code-block:: console
diff --git a/docs/writing/tests.rst b/docs/writing/tests.rst
index 141c92971..0cf20f7ee 100644
--- a/docs/writing/tests.rst
+++ b/docs/writing/tests.rst
@@ -274,7 +274,7 @@ This way if you ever switch to a newer Python version and no longer need the
unittest2 module, you can simply change the import in your test module without
the need to change any other code.
- `unittest2 `_
+ `unittest2 `_
mock