Show More
@@ -86,6 +86,7 b' from collections import deque' | |||||
86 | from io import StringIO |
|
86 | from io import StringIO | |
87 | from warnings import warn |
|
87 | from warnings import warn | |
88 |
|
88 | |||
|
89 | from IPython.utils.decorators import undoc | |||
89 | from IPython.utils.py3compat import PYPY, cast_unicode |
|
90 | from IPython.utils.py3compat import PYPY, cast_unicode | |
90 | from IPython.utils.encoding import get_stream_enc |
|
91 | from IPython.utils.encoding import get_stream_enc | |
91 |
|
92 | |||
@@ -108,6 +109,7 b' def _safe_getattr(obj, attr, default=None):' | |||||
108 | except Exception: |
|
109 | except Exception: | |
109 | return default |
|
110 | return default | |
110 |
|
111 | |||
|
112 | @undoc | |||
111 | class CUnicodeIO(StringIO): |
|
113 | class CUnicodeIO(StringIO): | |
112 | def __init__(self, *args, **kwargs): |
|
114 | def __init__(self, *args, **kwargs): | |
113 | super().__init__(*args, **kwargs) |
|
115 | super().__init__(*args, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now