From 9cb44c9c5848c151d4f355757d33e5808311deba Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Fri, 18 Aug 2023 01:46:50 -0500 Subject: [PATCH] Fix bad escape character in doc comment --- mesonbuild/modules/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/fs.py b/mesonbuild/modules/fs.py index 296c7a872..a666d6efe 100644 --- a/mesonbuild/modules/fs.py +++ b/mesonbuild/modules/fs.py @@ -104,7 +104,7 @@ class FSModule(ExtensionModule): @FeatureNew('fs.as_posix', '0.54.0') @typed_pos_args('fs.as_posix', str) def as_posix(self, state: 'ModuleState', args: T.Tuple[str], kwargs: T.Dict[str, T.Any]) -> str: - """ + r""" this function assumes you are passing a Windows path, even if on a Unix-like system and so ALL '\' are turned to '/', even if you meant to escape a character """