Module Expr Str ImportFrom alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore IfExp CompareGt Call NameLoad NameLoad Num TupleLoad SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Index Num TupleLoad ListLoad Str Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore TupleLoad ListLoad ListLoad ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMult Num Str Assign NameStore NameLoad For NameStore NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore IfExp NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Str Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Num Call NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Raise Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num NameLoad NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num NameLoad SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A Presenter classes for opc-diag model classes __future__ unicode_literals N/A re difflib unified_diff lxml etree diff N/A N/A text_1 text_2 filename_1 filename_2 N/A N/A N/A 
    Return a ``diff`` style unified diff listing between *text_1* and
    *text_2*.
     N/A lines_1 N/A N/A text_1 split N/A lines_2 N/A N/A text_2 split N/A diff_lines N/A unified_diff lines_1 lines_2 filename_1 filename_2 N/A trimmed_lines N/A N/A line diff_lines N/A N/A N/A N/A line endswith N/A N/A line N/A %s
 N/A N/A line rstrip N/A N/A N/A trimmed_lines append line N/A N/A N/A join trimmed_lines N/A prettify_nsdecls N/A N/A xml N/A N/A N/A 
    Wrap and indent attributes on the root element so namespace declarations
    don't run off the page in the text editor and can be more easily
    inspected. Sort attributes such that the default namespace, if present,
    appears first in the list, followed by other namespace declarations, and
    then remaining attributes, both in alphabetical order.
     parse_attrs N/A N/A rootline N/A N/A N/A 
        Return 3-tuple (head, attributes, tail) looking like
        ('<p:sld', ['xmlns:p="html://..."', 'name="Office Theme>"'], '>').
         N/A attr_re N/A N/A re compile ([-a-zA-Z0-9_:.]+="[^"]*" *) N/A substrs N/A N/A N/A substr strip N/A substr N/A N/A attr_re split rootline substr N/A head N/A substrs N/A 0 N/A N/A attrs tail N/A N/A N/A len substrs 1 N/A N/A substrs N/A 1 -1 N/A substrs N/A -1 N/A N/A N/A N/A head attrs tail N/A sequence_attrs N/A N/A attributes N/A N/A N/A 
        Sort attributes alphabetically within the subgroups: default
        namespace declaration, other namespace declarations, other
        attributes.
         N/A N/A def_nsdecls nsdecls attrs N/A N/A N/A N/A N/A attr attributes N/A N/A N/A N/A attr startswith xmlns= N/A N/A N/A N/A def_nsdecls append attr N/A N/A N/A N/A attr startswith xmlns: N/A N/A N/A N/A nsdecls append attr N/A N/A N/A N/A attrs append attr N/A N/A N/A N/A sorted def_nsdecls N/A sorted nsdecls N/A sorted attrs N/A pretty_rootline N/A N/A head attrs tail N/A N/A N/A 
        Return string containing prettified XML root line with *head* on the
        first line, *attrs* indented on following lines, and *tail* indented
        on the last line.
         N/A indent N/A 4 N/A newrootline head N/A attr attrs N/A N/A newrootline N/A 
%s%s N/A indent attr N/A newrootline N/A tail N/A 
%s%s N/A indent tail N/A newrootline N/A N/A lines N/A N/A xml splitlines N/A rootline N/A lines N/A 1 N/A N/A head attributes tail N/A parse_attrs rootline N/A attributes N/A sequence_attrs attributes N/A N/A lines N/A 1 N/A pretty_rootline head attributes tail N/A N/A N/A join lines N/A DiffPresenter N/A object N/A N/A 
    Forms diffs between packages and their elements.
     named_item_diff N/A N/A package_1 package_2 uri_tail N/A N/A N/A 
        Return a diff between the text of the item identified by *uri_tail*
        in *package_1* and that of its counterpart in *package_2*.
         N/A pkg_item_1 N/A N/A package_1 find_item_by_uri_tail uri_tail N/A pkg_item_2 N/A N/A package_2 find_item_by_uri_tail uri_tail N/A N/A N/A DiffPresenter _pkg_item_diff pkg_item_1 pkg_item_2 N/A staticmethod rels_diffs N/A N/A package_1 package_2 N/A N/A N/A 
        Return a list of diffs between the rels items in *package_1* against
        their counterparts in *package_2*. Rels items are compared in
        alphabetical order by pack URI.
         N/A package_1_rels_items N/A package_1 rels_items N/A N/A N/A DiffPresenter _pkg_item_diffs package_1_rels_items package_2 N/A staticmethod xml_part_diffs N/A N/A package_1 package_2 N/A N/A N/A 
        Return a list of diffs between the XML parts in *package_1* and their
        counterpart in *package_2*. Parts are compared in alphabetical order
        by partname (pack URI).
         N/A package_1_xml_parts N/A package_1 xml_parts N/A N/A N/A DiffPresenter _pkg_item_diffs package_1_xml_parts package_2 N/A staticmethod _pkg_item_diff N/A N/A pkg_item_1 pkg_item_2 N/A N/A N/A 
        Return a diff between the text of *pkg_item_1* and that of
        *pkg_item_2*.
         N/A item_presenter_1 N/A ItemPresenter pkg_item_1 N/A item_presenter_2 N/A ItemPresenter pkg_item_2 N/A text_1 N/A item_presenter_1 text N/A text_2 N/A item_presenter_2 text N/A filename_1 N/A item_presenter_1 filename N/A filename_2 N/A item_presenter_2 filename N/A N/A diff text_1 text_2 filename_1 filename_2 N/A staticmethod _pkg_item_diffs N/A N/A pkg_items package_2 N/A N/A N/A 
        Return a list of diffs, one for each item in *pkg_items* that differs
        from its counterpart in *package_2*.
         N/A diffs N/A N/A pkg_item pkg_items N/A N/A uri N/A pkg_item uri N/A pkg_item_2 N/A N/A package_2 find_item_by_uri_tail uri N/A diff N/A N/A DiffPresenter _pkg_item_diff pkg_item pkg_item_2 N/A diff N/A N/A N/A N/A diffs append diff N/A diffs N/A staticmethod N/A ItemPresenter N/A object N/A N/A 
    Base class and factory class for package item presenter classes; also
    serves as presenter for binary classes, e.g. .bin and .jpg.
     __new__ N/A N/A cls pkg_item N/A N/A N/A 
        Factory for package item presenter objects, choosing one of
        |ContentTypes|, |RelsItem|, or |Part| based on the characteristics of
        *pkg_item*.
         N/A N/A pkg_item is_content_types N/A N/A presenter_class ContentTypesPresenter N/A N/A N/A pkg_item is_rels_item N/A N/A presenter_class RelsItemPresenter N/A N/A N/A pkg_item is_xml_part N/A N/A presenter_class XmlPartPresenter N/A N/A presenter_class ItemPresenter N/A N/A N/A N/A super ItemPresenter cls __new__ presenter_class N/A __init__ N/A N/A self pkg_item N/A N/A N/A N/A N/A N/A super ItemPresenter self __init__ N/A N/A self _pkg_item pkg_item N/A filename N/A N/A self N/A N/A N/A 
        Effective path for this package item, normalized to always use
        forward slashes as the path separator.
         N/A N/A N/A N/A N/A self _pkg_item path replace \ / N/A property text N/A N/A self N/A N/A N/A 
        Raise |NotImplementedError|; all subclasses must implement a ``text``
        property, returning a text representation of the package item,
        generally a formatted version of the item contents.
         N/A msg '.text' property must be implemented by all subclasses of ItemPresenter N/A N/A NotImplementedError msg N/A property xml N/A N/A self N/A N/A N/A 
        Return pretty-printed XML (as unicode text) from this package item's
        blob.
         N/A xml_bytes N/A N/A N/A N/A etree tostring N/A N/A self _pkg_item element encoding UTF-8 pretty_print True standalone True strip N/A xml_text N/A N/A xml_bytes decode utf-8 N/A xml_text N/A property N/A ContentTypesPresenter N/A ItemPresenter N/A __init__ N/A N/A self pkg_item N/A N/A N/A N/A N/A N/A super ContentTypesPresenter self __init__ pkg_item N/A text N/A N/A self N/A N/A N/A 
        Return the <Types ...> XML for this content types item formatted for
        minimal diffs. The <Default> and <Override> child elements are sorted
        to remove arbitrary ordering between package saves.
         N/A lines N/A N/A N/A self xml split N/A defaults N/A sorted N/A l N/A l lines N/A N/A l startswith   <D N/A overrides N/A sorted N/A l N/A l lines N/A N/A l startswith   <O N/A out_lines N/A N/A N/A N/A lines N/A 2 defaults overrides N/A lines N/A -1 N/A out N/A N/A join out_lines N/A out N/A property N/A RelsItemPresenter N/A ItemPresenter N/A __init__ N/A N/A self pkg_item N/A N/A N/A N/A N/A N/A super RelsItemPresenter self __init__ pkg_item N/A text N/A N/A self N/A N/A N/A 
        Return the <Relationships ...> XML for this rels item formatted for
        minimal diffs. The <Relationship> child elements are sorted to remove
        arbitrary ordering between package saves. rId values are all set to
        'x' so internal renumbering between saves doesn't affect the
        ordering.
         anon N/A N/A rel N/A N/A N/A N/A N/A re sub  Id="[^"]+"   Id="x"  rel N/A N/A lines N/A N/A N/A self xml split N/A relationships N/A l N/A l lines N/A N/A l startswith   <R N/A anon_rels N/A sorted N/A N/A anon r N/A r relationships N/A out_lines N/A N/A N/A lines N/A 2 anon_rels N/A lines N/A -1 N/A out N/A N/A join out_lines N/A out N/A property N/A XmlPartPresenter N/A ItemPresenter N/A __init__ N/A N/A self pkg_item N/A N/A N/A N/A N/A N/A super XmlPartPresenter self __init__ pkg_item N/A text N/A N/A self N/A N/A N/A 
        Return pretty-printed XML of this part with the namespace declarations
        aligned and sorted to produce clear and minimal diffs.
         N/A N/A prettify_nsdecls N/A self xml N/A property N/A