XMLStream must provide the BaseProtocol interface

This commit is contained in:
Florent Le Coz 2015-02-04 17:49:30 +01:00
parent 4027927c6e
commit 957c635fb7

View file

@ -55,7 +55,7 @@ class NotConnectedError(Exception):
connected.
"""
class XMLStream(object):
class XMLStream(asyncio.BaseProtocol):
"""
An XML stream connection manager and event dispatcher.