We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7fcae commit 3663272Copy full SHA for 3663272
1 file changed
chess/pgn.py
@@ -143,8 +143,8 @@
143
(?P<suffix>\s?)
144
""", re.VERBOSE)
145
146
-def _condense_affix(infix: str):
147
- def repl(match):
+def _condense_affix(infix: str) -> Callable[[typing.Match[str]], str]:
+ def repl(match: typing.Match[str]) -> str:
148
if infix:
149
return match.group("prefix") + infix + match.group("suffix")
150
else:
0 commit comments