Mercurial > code > home > repos > light9
comparison stubs/rdflib/parser.pyi @ 1863:0f0ff27e55a3
stubs, mostly autogen or empty
Ignore-this: bc70818d2bc92bf022c65c3572b9775e
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 12:01:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1862:d92757c88817 | 1863:0f0ff27e55a3 |
---|---|
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): ... |