]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix name of argument in docstring and the docs (closes #25076)
authorBenjamin Peterson <benjamin@python.org>
Sun, 13 Sep 2015 00:20:47 +0000 (17:20 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sun, 13 Sep 2015 00:20:47 +0000 (17:20 -0700)
Patch by TAKASE Arihiro.

Doc/distutils/apiref.rst
Lib/distutils/ccompiler.py

index 8366d8a2c6d942d3d566e7a690e66c97ff55a0bd..92803b17544491702940a9d4c5b40bef461216e6 100644 (file)
@@ -516,7 +516,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.
 
 
index 4907a0aa5adc012b20351194bc045e8b627f3d55..c0c446f220a52343664e65cdb9ae4b528f1acf24 100644 (file)
@@ -718,7 +718,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