mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-26 21:08:59 +08:00
Update pyright to 1.1.278 (#9077)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -5,7 +5,6 @@ from typing import Optional
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from ._canonical_names import all_modifiers as all_modifiers, sided_modifiers as sided_modifiers
|
||||
from ._generic import GenericListener as _GenericListener
|
||||
from ._keyboard_event import KEY_DOWN as KEY_DOWN, KEY_UP as KEY_UP, KeyboardEvent as KeyboardEvent
|
||||
|
||||
_Key: TypeAlias = int | str
|
||||
|
||||
@@ -8,9 +8,11 @@ from typing_extensions import Literal, TypeAlias
|
||||
import pkg_resources
|
||||
from PyInstaller import HOMEPATH as HOMEPATH
|
||||
from PyInstaller.depend.imphookapi import PostGraphAPI
|
||||
from PyInstaller.utils.hooks import conda as conda_support
|
||||
from PyInstaller.utils.hooks import conda
|
||||
from PyInstaller.utils.hooks.win32 import get_pywin32_module_file_attribute as get_pywin32_module_file_attribute
|
||||
|
||||
conda_support = conda
|
||||
|
||||
_Environ: TypeAlias = SupportsKeysAndGetItem[str, str] | Iterable[tuple[str, str]] | Mapping[str, str]
|
||||
|
||||
PY_IGNORE_EXTENSIONS: set[str]
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
import six.moves.urllib.error as error
|
||||
import six.moves.urllib.parse as parse
|
||||
import six.moves.urllib.request as request
|
||||
import six.moves.urllib.response as response
|
||||
import six.moves.urllib.robotparser as robotparser
|
||||
from six.moves.urllib import error as error, parse as parse, request as request, response as response, robotparser as robotparser
|
||||
|
||||
Reference in New Issue
Block a user