* introduce py.io.TextIO and py.io.StringIO to help with 3k transition and to clarify
intentions when doing "in-memory" files. Replace most usages of StringIO. * consolidate py.io's files and tests into fewer files, make files 3k-importable --HG-- branch : trunk
This commit is contained in:
@@ -117,7 +117,7 @@ class PluginManager(object):
|
||||
# =====================================================
|
||||
methods = collectattr(plugin)
|
||||
hooks = collectattr(hookspec)
|
||||
stringio = py.std.StringIO.StringIO()
|
||||
stringio = py.io.TextIO()
|
||||
def Print(*args):
|
||||
if args:
|
||||
stringio.write(" ".join(map(str, args)))
|
||||
|
||||
Reference in New Issue
Block a user