AlkantarClanX12
Current Path : /opt/alt/python34/lib64/python3.4/__pycache__/ |
Current File : //opt/alt/python34/lib64/python3.4/__pycache__/formatter.cpython-34.pyc |
� e fE; � @ s� d Z d d l Z d d l Z e j d e � d Z Gd d � d � Z Gd d � d � Z Gd d � d � Z Gd d � d e � Z Gd d � d e � Z d d d � Z e d k r� e � n d S)a 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. � NzDthe formatter module is deprecated and will be removed in Python 3.6c @ s� e Z d Z d Z d d d � Z d d � Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d! d"