Make mypy 1.11 happy

This commit is contained in:
Kovid Goyal
2024-07-20 10:15:01 +05:30
parent 681a2b7b28
commit ae8da889c4
3 changed files with 11 additions and 7 deletions

View File

@@ -317,8 +317,10 @@ def write_remote_control_protocol_docs() -> None: # {{{
else:
title = f'{title} (optional)'
p(f':code:`{title}`')
p(' ', desc), p()
p(), p()
p(' ', desc)
p()
p()
p()
with open('generated/rc.rst', 'w') as f:
p = partial(print, file=f)