From: Benjamin Peterson Date: Sun, 13 Sep 2015 00:20:47 +0000 (-0700) Subject: fix name of argument in docstring and the docs (closes #25076) X-Git-Tag: v2.7.11rc1~154 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=061653091ebf02a4b2588f48a47071a182ff4dc6;p=thirdparty%2FPython%2Fcpython.git fix name of argument in docstring and the docs (closes #25076) Patch by TAKASE Arihiro. --- diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index 8366d8a2c6d9..92803b175444 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -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. diff --git a/Lib/distutils/ccompiler.py b/Lib/distutils/ccompiler.py index 4907a0aa5adc..c0c446f220a5 100644 --- a/Lib/distutils/ccompiler.py +++ b/Lib/distutils/ccompiler.py @@ -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