diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/rdflib/parser.pyi	Sat May 25 12:01:26 2019 +0000
@@ -0,0 +1,26 @@
+# Stubs for rdflib.parser (Python 3.4)
+#
+# NOTE: This dynamically typed stub was automatically generated by stubgen.
+
+from typing import Any
+from io import StringIO as BytesIO
+
+class Parser:
+    def __init__(self): ...
+    def parse(self, source, sink): ...
+
+class InputSource: # subclass of xmlreader
+  ...
+
+
+class StringInputSource(InputSource):
+    def __init__(self, value, system_id=None): ...
+
+class URLInputSource(InputSource):
+    url = ...  # type: Any
+    content_type = ...  # type: Any
+    def __init__(self, system_id=None, format=None): ...
+
+class FileInputSource(InputSource):
+    file = ...  # type: Any
+    def __init__(self, file): ...