Home | Trees | Index | Help |
|
---|
Package yagdoc :: Module common |
|
Classes | |
---|---|
FileTimes |
Exceptions | |
---|---|
DataError |
A recoverable error in input data. |
Function Summary | |
---|---|
Return the token soup corresponding to a postion or range. | |
Return the joined text corresponding to a range of tokens. | |
Returns something dict.fromkeys() or set() can be applied to. | |
Auxiliary method to run a function on all file arguments. | |
Form symbol name used as declarations key for section documentation. | |
Update and backup a file if the new contents differs from the current. |
Function Details |
---|
form_soup(tokens, start=0, end=None)Return the token soup corresponding to a postion or range. Arguments start and end are token positions, in slice notation. If start is not given, it defaults to zero. If end is not given, it defaults to len(tokens). |
form_text(tokens, start=0, end=None)Return the joined text corresponding to a range of tokens. Arguments start and end are token positions, in slice notation. If start is not given, it defaults to zero. If end is not given, it defaults to len(tokens). |
indexable(whatever)Returns something dict.fromkeys() or set() can be applied to. |
run_as_main(func)Auxiliary method to run a function on all file arguments. Will probably go away. |
section_symbol(name)Form symbol name used as declarations key for section documentation.
|
update_file(filename, text, backupext='~')Update and backup a file if the new contents differs from the current. Empty files are not backed up though.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Oct 5 00:36:53 2007 | http://epydoc.sf.net |