INNER CODE UNIT · Python

diff_word

mpenning/ciscoconfparse · ciscoconfparse/ccp_abc.py:323

    def diff_word(self, val):
        """A diff_word setter attribute (typically used in HDiff())"""

        # Check against expected HDiff() values...
        if self.diff_side == "before":
            assert val in set(
                {
                    "keep",
                    "remove",
                    "",
                }
            )

        elif self.diff_side == "after":
            assert val in set(
                {
                    "unchanged",
                    "add",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…