Submitter | phabricator |
---|---|
Date | March 19, 2021, 5:58 a.m. |
Message ID | <differential-rev-PHID-DREV-wjtdfm63hjbzgchoevnh-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48551/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/i18n.py b/mercurial/i18n.py --- a/mercurial/i18n.py +++ b/mercurial/i18n.py @@ -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,