Revert the default instance number back to zero
[pyi2ncommon] / src / cnfvar / model.py
index 242a9d3..827ff99 100644 (file)
@@ -246,7 +246,7 @@ class BaseCnf:
     _CHILD_TEMPLATE = "{lineno} {indent}({parent}) {name},{instance}: \"{value}\""
     _NEST_INDENT = "  "
 
-    def __init__(self, name, value, instance=-1, parent=None,
+    def __init__(self, name, value, instance=0, parent=None,
                  lineno=None, comment=None):
         """
         Create this instance.