ReFRACtor
Python.factory.creator.util.ExtendedFormatter Class Reference
+ Inheritance diagram for Python.factory.creator.util.ExtendedFormatter:
+ Collaboration diagram for Python.factory.creator.util.ExtendedFormatter:

Public Member Functions

def convert_field (self, value, conversion)
 

Detailed Description

An extended format string formatter

Formatter with extended conversion symbol

Definition at line 18 of file util.py.

Member Function Documentation

◆ convert_field()

def Python.factory.creator.util.ExtendedFormatter.convert_field (   self,
  value,
  conversion 
)
Extend conversion symbol
Following additional symbol has been added
* l: convert to string and low case
* u: convert to string and up case

default are:
* s: convert with str()
* r: convert with repr()
* a: convert with ascii()

Definition at line 23 of file util.py.


The documentation for this class was generated from the following file:

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:14