From e313f78465f3d3570838f77372f1b35ad6917770 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 17 Aug 2023 17:50:43 -0400 Subject: fix style errors in fs.relative_to implementation In commit f52bcaa27fc125ab9ae583af466ba99c164169f3 a few issues were added: - doc typo - imports for utils.universal are not intended to be directly used, it's an internal wrapper that exists solely to make mesonlib work well as it always did while simultaneously allowing `meson --internal` codepaths to avoid importing anything other than an extremely stripped down core - type annotation specific import was imported at runtime scope --- docs/markdown/Fs-module.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index bf9ddba9d..f136bb904 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -228,7 +228,7 @@ fs.stem('foo/bar/baz.dll.a') # baz.dll *Since 1.3.0* -Return a relative filepath. In event a relative path could not be found, the +Return a relative filepath. In the event a relative path could not be found, the absolute path of `to` is returned. Relative path arguments will be assumed to be relative to `meson.current_source_dir()`. -- cgit v1.2.3