GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 4.6 cStringIO -- Faster version of StringIO

Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 4.5 StringIO Up: 4. String Services Next: 4.7 codecs

4.6 cStringIO -- Faster version of StringIO

The module cStringIO provides an interface similar to that of the StringIO module. Heavy use of StringIO.StringIO objects can be made more efficient by using the function StringIO() from this module instead.

Since this module provides a factory function which returns objects of built-in types, there's no way to build your own version using subclassing. Use the original StringIO module in that case.

The following data objects are provided as well:

InputType
The type object of the objects created by calling StringIO with a string parameter.

OutputType
The type object of the objects returned by calling StringIO with no parameters.

There is a C API to the module as well; refer to the module source for more information.


Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 4.5 StringIO Up: 4. String Services Next: 4.7 codecs

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.