diff options
Diffstat (limited to 'Lib/xdrlib.py')
-rw-r--r-- | Lib/xdrlib.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/xdrlib.py b/Lib/xdrlib.py index 2f5db9b..055ee82 100644 --- a/Lib/xdrlib.py +++ b/Lib/xdrlib.py @@ -5,10 +5,7 @@ See: RFC 1014 """ import struct -try: - from cStringIO import StringIO as _StringIO -except ImportError: - from StringIO import StringIO as _StringIO +from io import StringIO as _StringIO __all__ = ["Error", "Packer", "Unpacker", "ConversionError"] |