mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
locale: add locale.getencoding (#7887)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
@@ -143,6 +143,9 @@ if sys.platform == "linux" or sys.platform == "darwin":
|
||||
def bindtextdomain(__domain: _str, __dir: StrPath | None) -> _str: ...
|
||||
def bind_textdomain_codeset(__domain: _str, __codeset: _str | None) -> _str | None: ...
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
def getencoding() -> _str: ...
|
||||
|
||||
locale_alias: dict[_str, _str] # undocumented
|
||||
locale_encoding_alias: dict[_str, _str] # undocumented
|
||||
windows_locale: dict[int, _str] # undocumented
|
||||
|
||||
Reference in New Issue
Block a user