diff --git a/waflib/Context.py b/waflib/Context.py index 888091df..c30bbc0d 100644 --- a/waflib/Context.py +++ b/waflib/Context.py @@ -607,13 +607,13 @@ class Context(ctx): Logs.pprint(color, msg) def load_special_tools(self, var, ban=[]): - r""" + """ Loads third-party extensions modules for certain programming languages by trying to list certain files in the extras/ directory. This method is typically called once for a programming language group, see for example :py:mod:`waflib.Tools.compiler_c` - :param var: glob expression, for example 'cxx\_\*.py' + :param var: glob expression, for example 'cxx\\_\\*.py' :type var: string :param ban: list of exact file names to exclude :type ban: list of string diff --git a/waflib/Tools/c_config.py b/waflib/Tools/c_config.py index 60cc0ecd..d546be95 100644 --- a/waflib/Tools/c_config.py +++ b/waflib/Tools/c_config.py @@ -239,7 +239,7 @@ def validate_cfg(self, kw): @conf def exec_cfg(self, kw): - r""" + """ Executes ``pkg-config`` or other ``-config`` applications to collect configuration flags: * if atleast_pkgconfig_version is given, check that pkg-config has the version n and return @@ -250,9 +250,9 @@ def exec_cfg(self, kw): :type atleast_pkgconfig_version: string :param package: package name, for example *gtk+-2.0* :type package: string - :param uselib_store: if the test is successful, define HAVE\_*name*. It is also used to define *conf.env.FLAGS_name* variables. + :param uselib_store: if the test is successful, define HAVE\\_*name*. It is also used to define *conf.env.FLAGS_name* variables. :type uselib_store: string - :param modversion: if provided, return the version of the given module and define *name*\_VERSION + :param modversion: if provided, return the version of the given module and define *name*\\_VERSION :type modversion: string :param args: arguments to give to *package* when retrieving flags :type args: list of string diff --git a/waflib/Tools/qt5.py b/waflib/Tools/qt5.py index 52a85f4c..9f432801 100644 --- a/waflib/Tools/qt5.py +++ b/waflib/Tools/qt5.py @@ -305,7 +305,7 @@ def process_mocs(self): @feature('qt5') @after_method('apply_link') def apply_qt5(self): - r""" + """ Adds MOC_FLAGS which may be necessary for moc:: def build(bld): @@ -313,11 +313,11 @@ def apply_qt5(self): The additional parameters are: - :param lang: list of translation files (\*.ts) to process + :param lang: list of translation files (\\*.ts) to process :type lang: list of :py:class:`waflib.Node.Node` or string without the .ts extension - :param update: whether to process the C++ files to update the \*.ts files (use **waf --translate**) + :param update: whether to process the C++ files to update the \\*.ts files (use **waf --translate**) :type update: bool - :param langname: if given, transform the \*.ts files into a .qrc files to include in the binary file + :param langname: if given, transform the \\*.ts files into a .qrc files to include in the binary file :type langname: :py:class:`waflib.Node.Node` or string without the .qrc extension """ if getattr(self, 'lang', None): diff --git a/waflib/extras/pyqt5.py b/waflib/extras/pyqt5.py index 2f9dc23d..80f43b88 100644 --- a/waflib/extras/pyqt5.py +++ b/waflib/extras/pyqt5.py @@ -108,12 +108,12 @@ def add_pylang(self, node): @feature('pyqt5') def apply_pyqt5(self): - r""" + """ The additional parameters are: - :param lang: list of translation files (\*.ts) to process + :param lang: list of translation files (\\*.ts) to process :type lang: list of :py:class:`waflib.Node.Node` or string without the .ts extension - :param langname: if given, transform the \*.ts files into a .qrc files to include in the binary file + :param langname: if given, transform the \\*.ts files into a .qrc files to include in the binary file :type langname: :py:class:`waflib.Node.Node` or string without the .qrc extension """ if getattr(self, 'lang', None): diff --git a/waflib/extras/qt4.py b/waflib/extras/qt4.py index b064f9e3..d19a4dda 100644 --- a/waflib/extras/qt4.py +++ b/waflib/extras/qt4.py @@ -282,7 +282,7 @@ def add_lang(self, node): @feature('qt4') @after_method('apply_link') def apply_qt4(self): - r""" + """ Add MOC_FLAGS which may be necessary for moc:: def build(bld): @@ -290,11 +290,11 @@ def apply_qt4(self): The additional parameters are: - :param lang: list of translation files (\*.ts) to process + :param lang: list of translation files (\\*.ts) to process :type lang: list of :py:class:`waflib.Node.Node` or string without the .ts extension - :param update: whether to process the C++ files to update the \*.ts files (use **waf --translate**) + :param update: whether to process the C++ files to update the \\*.ts files (use **waf --translate**) :type update: bool - :param langname: if given, transform the \*.ts files into a .qrc files to include in the binary file + :param langname: if given, transform the \\*.ts files into a .qrc files to include in the binary file :type langname: :py:class:`waflib.Node.Node` or string without the .qrc extension """ if getattr(self, 'lang', None):