mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Various py311 removals (#7836)
This commit is contained in:
@@ -78,9 +78,7 @@ class NullTranslations:
|
||||
def _parse(self, fp: _TranslationsReader) -> None: ...
|
||||
def add_fallback(self, fallback: NullTranslations) -> None: ...
|
||||
def gettext(self, message: str) -> str: ...
|
||||
def lgettext(self, message: str) -> str: ...
|
||||
def ngettext(self, msgid1: str, msgid2: str, n: int) -> str: ...
|
||||
def lngettext(self, msgid1: str, msgid2: str, n: int) -> str: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def pgettext(self, context: str, message: str) -> str: ...
|
||||
def npgettext(self, context: str, msgid1: str, msgid2: str, n: int) -> str: ...
|
||||
@@ -90,6 +88,8 @@ class NullTranslations:
|
||||
if sys.version_info < (3, 11):
|
||||
def output_charset(self) -> str | None: ...
|
||||
def set_output_charset(self, charset: str) -> None: ...
|
||||
def lgettext(self, message: str) -> str: ...
|
||||
def lngettext(self, msgid1: str, msgid2: str, n: int) -> str: ...
|
||||
|
||||
def install(self, names: Container[str] | None = ...) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user