From a0f165b2fa57653a44c97398c00c453ec28e6dcc Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Sat, 15 Jul 2023 22:46:41 +0200 Subject: interpreter: Remove redundant comment The function name adheres to the pattern used by many other Meson DSL implementation methods, thus stating that this is the implementation of the functionality without argument validation is not very useful. The docstring is separated from the function declaration by a blank line. Removing the docstring avoids having to decide if the blank line should be there or not. --- mesonbuild/interpreter/interpreter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 67203bdc4..d891fa657 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -2477,7 +2477,6 @@ class Interpreter(InterpreterBase, HoldableObject): install_data_type: T.Optional[str] = None, preserve_path: bool = False) -> build.Data: - """Just the implementation with no validation.""" idir = install_dir or '' idir_name = install_dir_name or idir or '{datadir}' if isinstance(idir_name, P_OBJ.OptionString): -- cgit v1.2.3