ProgramListing#

class src.pyconverter.xml2py.ast_tree.ProgramListing(element, parse_children=True)#

Bases: Element

Provides the program listing element.

Overview#

to_rst

Return a string to enable converting the element to an RST format.

source

Return the source value.

Import detail#

from src.pyconverter.xml2py.ast_tree import ProgramListing

Property detail#

property ProgramListing.source#

Return the source value.

Method detail#

ProgramListing.to_rst(indent='', max_length=100)#

Return a string to enable converting the element to an RST format.