
The package sleekxmpp.xmlstream.tostring26 remains for now until stanzabase is updated, but is no longer needed.
15 lines
276 B
Python
15 lines
276 B
Python
"""
|
|
|
|
"""
|
|
|
|
import sys
|
|
|
|
|
|
# Import the correct ToString class based on the Python version.
|
|
if sys.version_info < (3, 0):
|
|
from sleekxmpp.xmlstream.tostring.tostring26 import ToString
|
|
else:
|
|
from sleekxmpp.xmlstream.tostring.tostring import ToString
|
|
|
|
__all__ = ['ToString']
|