Trees | Indices | Help |
|
---|
|
Module to parse and create lines in "a=v;" format. Normally, the entry points are parse() and concoct().
Version: $Revision: 1.21 $
Classes | |
BadFormatError | |
writer Write a file in a=v; format. |
Functions | |||
|
|||
|
|||
tuple(list(dict), list(str)) |
|
||
|
|||
tuple(dict, list(dict), list(str)) |
|
||
|
Variables | |
__package__ =
|
Imports: die, g_encode, gpk_writer, fwd, back
Function Details |
Parses a line in a=v; a=v form into a dictionary. The line may be terminated by a '#' followed by an arbitrary comments. Both attributes and values are assumed to be encoded with the default g_encode encoder. (However, the comment is not assumed to be encoded.)
|
Converts a dictionary to a line in the form a=v;a=v;#comment. It returns a string. The entries in the dictionary will be converted to a string representation by fwd(). |
Read a file in a=v; format. If line is set, put the line number into a slot with the specified name.
|
This emulates fiatio.read().
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:02 2011 | http://epydoc.sourceforge.net |