The PEAK Developers' Center   Diff for "VisitorRevisited" UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View
Differences between version dated 2004-11-26 10:38:37 and 2005-01-08 03:13:09
Deletions are marked like this.
Additions are marked like this.

    def print_list(target,stream):
        # pretty-print a list (or subclass thereof)
        stream.write("[")
        for item in list:
        for item in target:
             pretty_print(item,stream)
             stream.write(",")
        stream.write("]")

PythonPowered
ShowText of this page
EditText of this page
FindPage by browsing, title search , text search or an index
Or try one of these actions: AttachFile, DeletePage, LikePages, LocalSiteMap, SpellCheck