(self, pin)
Adds the given plugin to the list of plugins in this parser.
Adds the given plugin to the list of plugins in this parser.
Adds the given plugin to the list of plugins in this parser .
def add_plugin(self, pin):
        """Adds the given plugin to the list of plugins in this parser.
        """

        if isinstance(pin, type):
            pin = pin()
        self.plugins.append(pin)
def add_plugin ( self , pin ) : if isinstance ( pin , type ) : pin = pin ( ) self . plugins . append ( pin )