def createLinkPath(elementNode):
 elementNode.localName = 'path'
 elementNode.linkObject(Path())

def createLinkPath ( elementNode ) : elementNode . localName = 'path' elementNode . linkObject ( Path ( ) )
create and link a path object .