[Python-checkins] cpython (3.4): fix name of argument in docstring and the docs (closes #25076)

benjamin.peterson python-checkins at python.org
Sun Sep 13 02:21:54 CEST 2015


https://hg.python.org/cpython/rev/1208c85af6d5
changeset: 97956:1208c85af6d5
branch: 3.4
parent: 97945:4f85b6228697
user: Benjamin Peterson <benjamin at python.org>
date: Sat Sep 12 17:20:47 2015 -0700
summary:
 fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
files:
 Doc/distutils/apiref.rst | 2 +-
 Lib/distutils/ccompiler.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -521,7 +521,7 @@
 
 .. 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
--- a/Lib/distutils/ccompiler.py
+++ b/Lib/distutils/ccompiler.py
@@ -752,7 +752,7 @@
 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
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /