#NEWLINE# def _new_instance( cls , children = None , connector = None , negated = False ) : #NEWLINE# #INDENT# '\n        This is called to create a new instance of this class when we need new\n        Nodes (or subclasses) in the internal code in this class. Normally, it\n        just shadows __init__(). However, subclasses with an __init__ signature\n        that is not an extension of Node.__init__ might need to implement this\n        method to allow a Node to create a new instance of them (if they have\n        any extra setting up to do).\n        ' #NEWLINE# obj = Node ( children , connector , negated ) #NEWLINE# obj . __class__ = cls #NEWLINE# return obj