Show More
@@ -22,7 +22,7 b' New errors are not allowed. Warnings are' | |||
|
22 | 22 | >>> commands = [] |
|
23 | 23 | >>> with open('mercurial/debugcommands.py', 'rb') as fh: |
|
24 | 24 | ... for line in fh: |
|
25 | ... m = re.match(b"^@command\('([a-z]+)", line) | |
|
25 | ... m = re.match(br"^@command\('([a-z]+)", line) | |
|
26 | 26 | ... if m: |
|
27 | 27 | ... commands.append(m.group(1)) |
|
28 | 28 | >>> scommands = list(sorted(commands)) |
General Comments 0
You need to be logged in to leave comments.
Login now