Skip to content
Snippets Groups Projects
Commit d941c68a authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

doc fix

parent 34559b25
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ def read_re_sub_and_write(path: str, pattern: tp.Union[re.compile, str], ...@@ -14,7 +14,7 @@ def read_re_sub_and_write(path: str, pattern: tp.Union[re.compile, str],
:param path: path of file to treat :param path: path of file to treat
:param pattern: regexp compiled pattern or a string, a pattern to match the file contents :param pattern: regexp compiled pattern or a string, a pattern to match the file contents
:param repl: string or a callable(str)->str to replace the contents :param repl: string or a callable(re.Match)->str to replace the contents
""" """
with open(path, 'r') as f_in: with open(path, 'r') as f_in:
data = f_in.read() data = f_in.read()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment