summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/fs.py
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2023-08-18 01:46:50 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-02-24 13:09:24 -0800
commit9cb44c9c5848c151d4f355757d33e5808311deba (patch)
tree2374cb506e277d8f4aca3c8e2036e66e52adebcd /mesonbuild/modules/fs.py
parent5495dc43153cc3267b98f3b83f5658736e78a90f (diff)
downloadmeson-9cb44c9c5848c151d4f355757d33e5808311deba.tar.gz
Fix bad escape character in doc comment
Diffstat (limited to 'mesonbuild/modules/fs.py')
-rw-r--r--mesonbuild/modules/fs.py2
1 files changed, 1 insertions, 1 deletions
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
"""