Convert most uses of the string module to string methods.
(string.join() lives!)
diff --git a/Doc/tools/sgmlconv/esistools.py b/Doc/tools/sgmlconv/esistools.py
index 7feeada..6c7c0ae 100644
--- a/Doc/tools/sgmlconv/esistools.py
+++ b/Doc/tools/sgmlconv/esistools.py
@@ -1,7 +1,6 @@
"""Miscellaneous utility functions useful for dealing with ESIS streams."""
import re
-import string
import xml.dom.pulldom
@@ -182,7 +181,7 @@
elif token == '?':
if handler:
if ' ' in data:
- target, data = string.split(data, None, 1)
+ target, data = data.split(None, 1)
else:
target, data = data, ""
handler.processingInstruction(target, decode(data))