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.
pull/12044/head
Daniele Nicolodi 1 year ago committed by Eli Schwartz
parent 492d8e90ad
commit a0f165b2fa
  1. 1
      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):

Loading…
Cancel
Save