Browse Source

fix name of argument in docstring and the docs (closes #25076)

Patch by TAKASE Arihiro.
pull/40/head
Benjamin Peterson 11 years ago
parent
commit
4019852bfc
  1. 2
      Doc/distutils/apiref.rst
  2. 2
      Lib/distutils/ccompiler.py

2
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.

2
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

Loading…
Cancel
Save