Skip to content

Commit

Permalink
Use correct regex escape in doctest
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
pombredanne committed Oct 3, 2024
1 parent 78a73fe commit 26a18ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluecode/copyrights.py
Original file line number Diff line number Diff line change
Expand Up @@ -4449,7 +4449,7 @@ def remove_code_comment_markers(s):
"""
Return ``s`` removing code comments such as C and C++ style comment markers and assimilated
>>> remove_code_comment_markers(r"\\*#%; /\\/*a*/b/*c\\d#e%f \\*#%; /")
>>> remove_code_comment_markers(r"\\*#%; /\\/*a*/b/*c\d#e%f \\*#%; /")
'a b c\\\d e f'
"""
return (s
Expand Down

0 comments on commit 26a18ce

Please sign in to comment.