def _copy(self):
        new = Grammar(**self._expressions)
        new.default_rule = self.default_rule
        return new
Return a shallow copy of myself.
dataset/ETHPy150Open erikrose/parsimonious/parsimonious/grammar.py/Grammar._copy