Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastβthe ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsβembodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.
Current path: lib64/python2.7/
β Cloned to:
β¬οΈ Go up: /lib64
οΏ½
zfc @ sοΏ½ d Z d d l Z d Z d d d οΏ½ οΏ½ YZ d d d οΏ½ οΏ½ YZ d d d οΏ½ οΏ½ YZ d e f d
οΏ½ οΏ½ YZ d e f d οΏ½ οΏ½ YZ d d
οΏ½ Z e
d k rοΏ½ e οΏ½ n d S( s Generic output formatting.
Formatter objects transform an abstract flow of formatting events into
specific output events on writer objects. Formatters manage several stack
structures to allow various properties of a writer object to be changed and
restored; writers need not be able to handle relative changes nor any sort
of ``change back'' operation. Specific writer properties which may be
controlled via formatter objects are horizontal alignment, font, and left
margin indentations. A mechanism is provided which supports providing
arbitrary, non-exclusive style settings to a writer as well. Additional
interfaces facilitate formatting events which are not reversible, such as
paragraph separation.
Writer objects encapsulate device interfaces. Abstract devices, such as
file formats, are supported as well as physical devices. The provided
implementations all work with abstract devices. The interface makes
available mechanisms for setting the properties which formatter objects
manage and inserting data into the output.
iοΏ½οΏ½οΏ½οΏ½Nt
NullFormatterc B sοΏ½ e Z d Z d d οΏ½ Z d οΏ½ Z d οΏ½ Z d οΏ½ Z d d οΏ½ Z d οΏ½ Z d οΏ½ Z
d οΏ½ Z d οΏ½ Z d
οΏ½ Z
d οΏ½ Z d οΏ½ Z d
οΏ½ Z d οΏ½ Z d οΏ½ Z d οΏ½ Z d d οΏ½ Z d d οΏ½ Z RS( s= A formatter which does nothing.
If the writer parameter 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.
c C s% | d k r t οΏ½ } n | | _ d S( N( t Nonet
NullWritert writer( t selfR ( ( s! /usr/lib64/python2.7/formatter.pyt __init__&