1
0
Fork 0

Fixed SyntaxWarning due to DocuString

This commit is contained in:
Salvoxia 2024-09-25 21:09:41 +02:00
parent 03b1e1d533
commit c9ca29464b

View file

@ -177,7 +177,7 @@ def expand_to_glob(expr: str) -> str:
Returns
---------
The original expression if it contained a slash or an asterisk,
otherwise \*\*/\*\<expr>\*\/\*\*
otherwise \\*\\*/\\*\\<expr\\>\\*/\\*\\*
"""
if not '/' in expr and not '*' in expr:
glob_expr = f'**/*{expr}*/**'