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 — 12.1.2 Formatter Implementations

Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 12.1.1 The Formatter Interface Up: 12.1 formatter Next: 12.1.3 The Writer Interface


12.1.2 Formatter Implementations

Two implementations of formatter objects are provided by this module. Most applications may use one of these classes without modification or subclassing.

NullFormatter ([writer])
A formatter which does nothing. If writer is omitted, a NullWriter instance is created. No methods of the writer are called by NullFormatter instances. Implementations should inherit from this class if implementing a writer interface but don't need to inherit any implementation.

AbstractFormatter (writer)
The standard formatter. This implementation has demonstrated wide applicability to many writers, and may be used directly in most circumstances. It has been used to implement a full-featured world-wide web browser.


Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 12.1.1 The Formatter Interface Up: 12.1 formatter Next: 12.1.3 The Writer Interface

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.