Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d1ca4f9

Browse files
committed
Merge fixes for #12256 and typos from 3.2
2 parents 8755278 + 355d48a commit d1ca4f9

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Doc/distutils/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ one command from a terminal::
101101

102102
python setup.py install
103103

104-
For Windows, this command should be run from a command prompt windows
104+
For Windows, this command should be run from a command prompt window
105105
(:menuselection:`Start --> Accessories`)::
106106

107107
setup.py install

Doc/distutils/setupscript.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ code: it's probably better to write C code like ::
254254

255255
If you need to include header files from some other Python extension, you can
256256
take advantage of the fact that header files are installed in a consistent way
257-
by the Distutils :command:`install_header` command. For example, the Numerical
257+
by the Distutils :command:`install_headers` command. For example, the Numerical
258258
Python header files are installed (on a standard Unix installation) to
259259
:file:`/usr/local/include/python1.5/Numerical`. (The exact location will differ
260260
according to your platform and Python installation.) Since the Python include

Doc/glossary.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ Glossary
3030
Abstract base classes complement :term:`duck-typing` by
3131
providing a way to define interfaces when other techniques like
3232
:func:`hasattr` would be clumsy or subtly wrong (for example with
33-
:ref:`magic methods <special-lookup>`). Python comes with many built-in ABCs for
33+
:ref:`magic methods <special-lookup>`). ABCs introduce virtual
34+
subclasses, which are classes that don't inherit from a class but are
35+
still recognized by :func:`isinstance` and :func:`issubclass`; see the
36+
:mod:`abc` module documentation. Python comes with many built-in ABCs for
3437
data structures (in the :mod:`collections.abc` module), numbers (in the
3538
:mod:`numbers` module), streams (in the :mod:`io` module), import finders
3639
and loaders (in the :mod:`importlib.abc` module). You can create your own

0 commit comments

Comments
 (0)