diff options
Diffstat (limited to 'Doc/tools/sgmlconv/docfixer.py')
-rwxr-xr-x | Doc/tools/sgmlconv/docfixer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/sgmlconv/docfixer.py b/Doc/tools/sgmlconv/docfixer.py index 9f93966..8459fa2 100755 --- a/Doc/tools/sgmlconv/docfixer.py +++ b/Doc/tools/sgmlconv/docfixer.py @@ -1055,8 +1055,8 @@ def main(): ofp = sys.stdout elif len(sys.argv) == 3: ifp = open(sys.argv[1]) - import StringIO - ofp = StringIO.StringIO() + import io + ofp = io.StringIO() else: usage() sys.exit(2) |