aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2023-07-15 22:46:41 +0200
committerEli Schwartz <eschwartz93@gmail.com>2023-07-26 13:30:49 -0400
commita0f165b2fa57653a44c97398c00c453ec28e6dcc (patch)
treec636f23274296b01c0889a9a547a3b2d674969bf
parent492d8e90ad0fca985c4c09e518157230efaa5618 (diff)
downloadmeson-a0f165b2fa57653a44c97398c00c453ec28e6dcc.zip
meson-a0f165b2fa57653a44c97398c00c453ec28e6dcc.tar.gz
meson-a0f165b2fa57653a44c97398c00c453ec28e6dcc.tar.bz2
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.
-rw-r--r--mesonbuild/interpreter/interpreter.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 67203bd..d891fa6 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):