summaryrefslogtreecommitdiff
path: root/numpy/distutils/ccompiler_opt.py
diff options
context:
space:
mode:
authorSayed Adel <seiko@imavr.com>2021-01-02 08:30:46 +0200
committerSayed Adel <seiko@imavr.com>2021-01-03 05:36:41 +0000
commitce6cd579d4accd81edfd96fd8b7923455d5a9e61 (patch)
tree1c40300ddcad1deb517e8cd5f264c9dcb30f594c /numpy/distutils/ccompiler_opt.py
parentcaec7f21ce3ca2672e93781a379734295c00debe (diff)
downloadnumpy-ce6cd579d4accd81edfd96fd8b7923455d5a9e61.tar.gz
MAINT, BLD: few tweaks in the comments and log message
Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: h-vetinari <h.vetinari@gmx.com> Co-authored-by: Derek Homeier <dhomeie@gwdg.de>
Diffstat (limited to 'numpy/distutils/ccompiler_opt.py')
-rw-r--r--numpy/distutils/ccompiler_opt.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/distutils/ccompiler_opt.py b/numpy/distutils/ccompiler_opt.py
index 39c08d36b..5fa17b2ee 100644
--- a/numpy/distutils/ccompiler_opt.py
+++ b/numpy/distutils/ccompiler_opt.py
@@ -2225,8 +2225,8 @@ class CCompilerOpt(_Config, _Distutils, _Cache, _CCompiler, _Feature, _Parse):
def generate_dispatch_header(self, header_path):
"""
- Generate the dispatch header which containing all definitions
- and headers of instruction-sets for the enabled CPU baseline and
+ Generate the dispatch header which contains the #definitions and headers
+ for platform-specific instruction-sets for the enabled CPU baseline and
dispatch-able features.
Its highly recommended to take a look at the generated header
@@ -2243,7 +2243,7 @@ class CCompilerOpt(_Config, _Distutils, _Cache, _CCompiler, _Feature, _Parse):
header_dir = os.path.dirname(header_path)
if not os.path.exists(header_dir):
self.dist_log(
- f"dispatch header dir {header_dir} isn't exist, creating it",
+ f"dispatch header dir {header_dir} does not exist, creating it",
stderr=True
)
os.makedirs(header_dir)
@@ -2515,7 +2515,7 @@ class CCompilerOpt(_Config, _Distutils, _Cache, _CCompiler, _Feature, _Parse):
def new_ccompiler_opt(compiler, dispatch_hpath, **kwargs):
"""
Create a new instance of 'CCompilerOpt' and generate the dispatch header
- which containing all definitions and headers of instruction-sets for
+ which contains the #definitions and headers of platform-specific instruction-sets for
the enabled CPU baseline and dispatch-able features.
Parameters