Merge pull request #75 from ismail-s/feature/type_check_webbrowser

Add py2 webbrowser type checking
This commit is contained in:
Guido van Rossum
2016-02-01 09:28:09 -08:00

View File

@@ -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]