fix self for thirdparty (#646)

This commit is contained in:
Elazar Gershuni
2016-10-31 00:02:23 +02:00
committed by Guido van Rossum
parent 090667c7b2
commit 58d60343ba
2 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ class Cursor(object):
def __init__(self) -> None: ...
def __iter__(self): ...
def __next__(self) -> Any: ...
def callproc(procname: str, **kwargs) -> None: ...
def callproc(self, procname: str, **kwargs) -> None: ...
def close(self) -> None: ...
def execute(self, stmt: str,
params: Optional[Union[Scalar, Tuple[Scalar, ...],

View File

@@ -226,12 +226,12 @@ def get_provider(package_or_requirement: str) -> IResourceProvider: ...
def get_provider(package_or_requirement: Requirement) -> Distribution: ...
class IMetadataProvider:
def has_metadata(name: str) -> bool: ...
def metadata_isdir(name: str) -> bool: ...
def metadata_listdir(name: str) -> List[str]: ...
def get_metadata(name: str) -> str: ...
def get_metadata_lines(name: str) -> Generator[List[str], None, None]: ...
def run_script(script_name: str, namespace: Dict[str, Any]) -> None: ...
def has_metadata(self, name: str) -> bool: ...
def metadata_isdir(self, name: str) -> bool: ...
def metadata_listdir(self, name: str) -> List[str]: ...
def get_metadata(self, name: str) -> str: ...
def get_metadata_lines(self, name: str) -> Generator[List[str], None, None]: ...
def run_script(self, script_name: str, namespace: Dict[str, Any]) -> None: ...
class ResolutionError(Exception): ...