448
|
1 # Stubs for rdflib.parser (Python 3.4)
|
|
2 #
|
|
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
4
|
|
5 from typing import Any
|
|
6 from io import StringIO as BytesIO
|
|
7
|
|
8 class Parser:
|
|
9 def __init__(self): ...
|
|
10 def parse(self, source, sink): ...
|
|
11
|
|
12 class InputSource: # subclass of xmlreader
|
|
13 ...
|
|
14
|
|
15
|
|
16 class StringInputSource(InputSource):
|
|
17 def __init__(self, value, system_id=None): ...
|
|
18
|
|
19 class URLInputSource(InputSource):
|
|
20 url = ... # type: Any
|
|
21 content_type = ... # type: Any
|
|
22 def __init__(self, system_id=None, format=None): ...
|
|
23
|
|
24 class FileInputSource(InputSource):
|
|
25 file = ... # type: Any
|
|
26 def __init__(self, file): ...
|