Did I find the right examples for you? yes no

All Samples(9)  |  Call(0)  |  Derive(0)  |  Import(9)
Convert compiler package AST nodes into Python source code.

The entry point is the L{pp} function.

This is mostly used to present certain nodes in the rendered documentation -- for
example any default values for a function's arguments are rendered using L{pp}.

The code was stolen from exarkun's svn.twistedmatrix.com sandbox:
U{http://twistedmatrix.com/trac/browser/sandbox/exarkun/ast/ast_pp.py}

src/p/y/pydoctor-0.5/pydoctor/zopeinterface.py   pydoctor(Download)
"""Support for Zope interfaces."""
 
from pydoctor import model, ast_pp, astbuilder
from compiler import ast
import re

src/p/y/pydoctor-0.5/pydoctor/twistedmodel.py   pydoctor(Download)
"""Support for a few things specific to documenting Twisted."""
 
from pydoctor import model, ast_pp, zopeinterface
 
class TwistedModuleVisitor(zopeinterface.ZopeInterfaceModuleVisitor):

src/b/a/babbledrive-HEAD/generator-pydoctor/pydoctor/zopeinterface.py   babbledrive(Download)
"""Support for Zope interfaces."""
 
from pydoctor import model, ast_pp, astbuilder
from compiler import ast
import re

src/b/a/babbledrive-HEAD/generator-pydoctor/pydoctor/twistedmodel.py   babbledrive(Download)
"""Support for a few things specific to documenting Twisted."""
 
from pydoctor import model, ast_pp, zopeinterface
 
class TwistedModuleVisitor(zopeinterface.ZopeInterfaceModuleVisitor):

src/p/y/pydoctor-0.5/pydoctor/astbuilder.py   pydoctor(Download)
"""Convert ASTs into L{pydoctor.model.Documentable} instances."""
from pydoctor import model, ast_pp
 
from compiler import visitor, transformer, ast
import symbol, token

src/b/a/babbledrive-HEAD/generator-pydoctor/pydoctor/astbuilder.py   babbledrive(Download)
"""Convert ASTs into L{pydoctor.model.Documentable} instances."""
from pydoctor import model, ast_pp
 
from compiler import visitor, transformer, ast
import symbol, token

src/p/y/pydoctor-0.5/pydoctor/templatewriter/pages/functionchild.py   pydoctor(Download)
 
from twisted.web.template import Element, renderer, tags, XMLFile
 
from pydoctor import ast_pp
from pydoctor.templatewriter import util

src/b/a/babbledrive-HEAD/generator-pydoctor/pydoctor/nevowhtml/pages/functionchild.py   babbledrive(Download)
 
from nevow import loaders, page, tags
 
from pydoctor import ast_pp
from pydoctor.nevowhtml import util

src/p/y/pydoctor-0.5/pydoctor/test/test_ast_pp.py   pydoctor(Download)
# this is not stolen from exarkun's sandbox; he didn't seem to write
# any tests :)
 
from pydoctor import ast_pp
from compiler.transformer import parse