mercurial/i18n.py
changeset 51285 8b2ea2246a5f
parent 51284 f15cb5111a1e
child 51287 f4a0806081f2
--- a/mercurial/i18n.py	Tue Dec 19 21:29:34 2023 +0100
+++ b/mercurial/i18n.py	Wed Dec 20 11:23:09 2023 +0100
@@ -89,7 +89,7 @@
     if message not in cache:
         if type(message) is str:
             # goofy unicode docstrings in test
-            paragraphs = message.split(u'\n\n')  # type: List[str]
+            paragraphs: List[str] = message.split(u'\n\n')
         else:
             # should be ascii, but we have unicode docstrings in test, which
             # are converted to utf-8 bytes on Python 3.