diff --git a/stdlib/3/urllib/robotparser.pyi b/stdlib/3/urllib/robotparser.pyi index 11ead4f39..36150ab01 100644 --- a/stdlib/3/urllib/robotparser.pyi +++ b/stdlib/3/urllib/robotparser.pyi @@ -14,5 +14,5 @@ class RobotFileParser: def mtime(self) -> int: ... def modified(self) -> None: ... if sys.version_info >= (3, 6): - def crawl_delay(useragent: str) -> Optional[str]: ... - def request_rate(useragent: str) -> Optional[_RequestRate]: ... + def crawl_delay(self, useragent: str) -> Optional[str]: ... + def request_rate(self, useragent: str) -> Optional[_RequestRate]: ...