summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-09-13 00:20:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-09-13 00:20:47 (GMT)
commit4019852bfc5b474488213ac29f80db74cc3b8f93 (patch)
treeb69e9d39152125f29d75d27734c31438e5541822
parent95c3e6cb2243acc0a102d9fa59efece1427a3936 (diff)
downloadcpython-4019852bfc5b474488213ac29f80db74cc3b8f93.zip
cpython-4019852bfc5b474488213ac29f80db74cc3b8f93.tar.gz
cpython-4019852bfc5b474488213ac29f80db74cc3b8f93.tar.bz2
fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
-rw-r--r--Doc/distutils/apiref.rst2
-rw-r--r--Lib/distutils/ccompiler.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index 53d7527..6eb87cb 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -521,7 +521,7 @@ This module provides the following functions.
.. method:: CCompiler.library_option(lib)
- Return the compiler option to add *dir* to the list of libraries linked into the
+ Return the compiler option to add *lib* to the list of libraries linked into the
shared library or executable.
diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py
index 911e84d..e93a273 100644
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -752,7 +752,7 @@ class CCompiler:
raise NotImplementedError
def library_option(self, lib):
- """Return the compiler option to add 'dir' to the list of libraries
+ """Return the compiler option to add 'lib' to the list of libraries
linked into the shared library or executable.
"""
raise NotImplementedError