node.py and page.py have been created following somewhat of a functional paradigm. However, the function signature for each method is almost identical across the board, i.e.: each function has the form function(root, location, *args). Hence, it makes sense to make these into a Node and a Page object, so as to save space. This has the added bonus of clearing up the name space, to keep variable node separate from the method node.
node.py
andpage.py
have been created following somewhat of a functional paradigm. However, the function signature for each method is almost identical across the board, i.e.: each function has the formfunction(root, location, *args)
. Hence, it makes sense to make these into aNode
and aPage
object, so as to save space. This has the added bonus of clearing up the name space, to keep variablenode
separate from the methodnode
.