diff options
Diffstat (limited to 'Lib/_pyio.py')
| -rw-r--r-- | Lib/_pyio.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index c44f47c..137ebcb 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -2054,7 +2054,6 @@ class StringIO(TextIOWrapper): if not isinstance(initial_value, str): raise TypeError("initial_value must be str or None, not {0}" .format(type(initial_value).__name__)) - initial_value = str(initial_value) self.write(initial_value) self.seek(0) |
