Fixed SyntaxWarning due to DocuString
This commit is contained in:
parent
03b1e1d533
commit
c9ca29464b
1 changed files with 1 additions and 1 deletions
|
@ -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}*/**'
|
||||
|
|
Loading…
Reference in a new issue