mercurial/i18n.py
changeset 46808 2c0e35f6957a
parent 46681 b9f40b743627
child 46819 d4ba4d51f85f
--- a/mercurial/i18n.py	Thu Mar 18 18:57:21 2021 -0400
+++ b/mercurial/i18n.py	Thu Mar 18 23:41:00 2021 -0400
@@ -23,7 +23,6 @@
     from typing import (
         Callable,
         List,
-        Optional,
     )
 
 
@@ -71,7 +70,7 @@
 
 
 def gettext(message):
-    # type: (Optional[bytes]) -> Optional[bytes]
+    # type: (bytes) -> bytes
     """Translate message.
 
     The message is looked up in the catalog to get a Unicode string,