(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/writer-interface.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/module-formatter.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/formatter-interface.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/contents.html| ]]
|
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/genindex.html| ]]
|
Next: 12.5.3 The Writer Interface Up: 12.5 formatter Previous: 12.5.1 The Formatter Interface
12.5.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.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/writer-interface.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/module-formatter.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/formatter-interface.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/contents.html| ]]
|
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/16/lib/genindex.html| ]]
|
Next: 12.5.3 The Writer Interface Up: 12.5 formatter Previous: 12.5.1 The Formatter Interface