mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add stubs for urllib.robotparser.
This commit is contained in:
7
stdlib/3/urllib/robotparser.pyi
Normal file
7
stdlib/3/urllib/robotparser.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
class RobotFileParser:
|
||||
def set_url(self, url: str): ...
|
||||
def read(self): ...
|
||||
def parse(self, lines: str): ...
|
||||
def can_fetch(self, user_agent: str, url: str): ...
|
||||
def mtime(self): ...
|
||||
def modified(self): ...
|
||||
Reference in New Issue
Block a user