MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / apply

Method apply

suds/sax/element.py:1002–1011  ·  view source on GitHub ↗

Normalize the specified node. @param node: A node to normalize. @type node: L{Element} @return: The normalized node. @rtype: L{Element}

(cls, node)

Source from the content-addressed store, hash-verified

1000
1001 @classmethod
1002 def apply(cls, node):
1003 """
1004 Normalize the specified node.
1005 @param node: A node to normalize.
1006 @type node: L{Element}
1007 @return: The normalized node.
1008 @rtype: L{Element}
1009 """
1010 pn = PrefixNormalizer(node)
1011 return pn.refit()
1012
1013 def __init__(self, node):
1014 """

Callers 1

normalizePrefixesMethod · 0.45

Calls 2

refitMethod · 0.95
PrefixNormalizerClass · 0.85

Tested by

no test coverage detected