mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #17516: remove dead code
This commit is contained in:
parent
3fa1aaebde
commit
678ad51b38
3 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue