diff options
Diffstat (limited to 'sleekxmpp/xmlstream')
-rw-r--r-- | sleekxmpp/xmlstream/filesocket.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/filesocket.py b/sleekxmpp/xmlstream/filesocket.py index b0c15562..441ff875 100644 --- a/sleekxmpp/xmlstream/filesocket.py +++ b/sleekxmpp/xmlstream/filesocket.py @@ -9,6 +9,7 @@ from socket import _fileobject import socket + class FileSocket(_fileobject): """ @@ -25,6 +26,7 @@ class FileSocket(_fileobject): if data is not None: return data + class Socket26(socket._socketobject): """ @@ -37,4 +39,3 @@ class Socket26(socket._socketobject): Return a regular file object corresponding to the socket. The mode and bufsize arguments are as for the built-in open() function.""" return FileSocket(self._sock, mode, bufsize) - |