mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Merge pull request #75 from ismail-s/feature/type_check_webbrowser
Add py2 webbrowser type checking
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
import sys
|
||||
from typing import Any, Optional, Callable, List
|
||||
|
||||
class Error(Exception): ...
|
||||
@@ -56,12 +57,13 @@ class Galeon(UnixBrowser):
|
||||
remote_action_newwin = ... # type: str
|
||||
background = ... # type: bool
|
||||
|
||||
class Chrome(UnixBrowser):
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
if sys.version_info[:2] == (2, 7) or sys.version_info >= (3, 3):
|
||||
class Chrome(UnixBrowser):
|
||||
remote_args = ... # type: List[str]
|
||||
remote_action = ... # type: str
|
||||
remote_action_newwin = ... # type: str
|
||||
remote_action_newtab = ... # type: str
|
||||
background = ... # type: bool
|
||||
|
||||
class Opera(UnixBrowser):
|
||||
raise_opts = ... # type: List[str]
|
||||
Reference in New Issue
Block a user