(self)
Restore the options to default state.
Restore the options to default state.
Restore the options to default state .
def restoreDefaults(self):
        """
        Restore the options to default state.
        """
        # preserve `_options` if set by clients (for `reset`).
        opts = self._options
        self.setOptions(Options("utf-8", csv.excel()))
        self._options = opts
def restoreDefaults ( self ) : # preserve `_options` if set by clients (for `reset`). opts = self . _options self . setOptions ( Options ( "utf-8" , csv . excel ( ) ) ) self . _options = opts