• Jim Fulton's avatar
    Folded in a number of changes from Python CVS. · 7ae1c480
    Jim Fulton authored
    Added a new "base" type, IOobject for which most of the
    operations are defined.  This will, hopefully clarify
    some of the logic.
    
    Added close test to raise proper error when operations
    are performed on closed StringIOs.
    
    Added a position argument to the truncate method.
    
    Added a size argument to readline.
    
    Added PyArg_Parse calls for methods that don't take arguments to
    make sure they don't take arguments.
    
    Guido-fied some of the indentation.
    7ae1c480
cStringIO.c 21.2 KB