changeset 1914:f1f426af34ed

stubs Ignore-this: 99edfdd5f84653ddc0af4b46a3a02dad
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 01 Jun 2019 20:04:53 +0000
parents 076f8551ae36
children 44016c6caba5
files stubs/rdflib/__init__.pyi stubs/rdflib/plugins/serializers/turtle.pyi stubs/twisted/internet/__init__.pyi
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stubs/rdflib/__init__.pyi	Sat Jun 01 11:03:16 2019 +0000
+++ b/stubs/rdflib/__init__.pyi	Sat Jun 01 20:04:53 2019 +0000
@@ -9,6 +9,7 @@
 
 RDF: Namespace
 RDFS: Namespace
+XSD: Namespace
 
 import rdflib.term as _t
 URIRef = _t.URIRef
--- a/stubs/rdflib/plugins/serializers/turtle.pyi	Sat Jun 01 11:03:16 2019 +0000
+++ b/stubs/rdflib/plugins/serializers/turtle.pyi	Sat Jun 01 20:04:53 2019 +0000
@@ -3,7 +3,7 @@
 # NOTE: This dynamically typed stub was automatically generated by stubgen.
 
 from rdflib.serializer import Serializer
-from typing import Any, Optional
+from typing import Any, Optional, Callable
 
 class RecursiveSerializer(Serializer):
     topClasses: Any = ...
@@ -56,3 +56,5 @@
     def objectList(self, objects: Any) -> None: ...
 
 OBJECT: Any
+VERB: Any
+_GEN_QNAME_FOR_DT: Callable
--- a/stubs/twisted/internet/__init__.pyi	Sat Jun 01 11:03:16 2019 +0000
+++ b/stubs/twisted/internet/__init__.pyi	Sat Jun 01 20:04:53 2019 +0000
@@ -4,9 +4,11 @@
 
 from typing import Any, Optional
 from .interfaces import IDelayedCall, IAddress, IListeningPort
-    
+import twisted.internet.protocol
+
 class ReactorType: # abridged
-    def listenTCP(self, port: Any, factory: Any, backlog: int = ..., interface: str = ...) -> IListeningPort: ...
+    def listenTCP(self, port: int, factory: twisted.internet.protocol.ServerFactory, backlog: Optional[int] =50, interface: str = ...) -> IListeningPort: ...
+    def connectTCP(self, host :bytes, port: int, factory: twisted.internet.protocol.ClientFactory, timeout: Optional[float] = 30): ...
     def seconds(self) -> None: ...
     def callLater(self, delay: Any, callable: Any, *args: Any, **kw: Any) -> IDelayedCall: ...
     def getDelayedCalls(self) -> None: ...