File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ code: it's probably better to write C code like ::
254254
255255If you need to include header files from some other Python extension, you can
256256take 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
258258Python header files are installed (on a standard Unix installation) to
259259:file: `/usr/local/include/python1.5/Numerical `. (The exact location will differ
260260according to your platform and Python installation.) Since the Python include
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments